Details

Time bar (total: 6.6s)

sample54.0ms

Algorithm
intervals
Results
9.0ms102×body320valid
8.0ms474×pre80true
6.0ms218×body80nan
6.0ms105×body160valid
2.0ms16×body640valid
1.0ms33×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 51.9b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* (* 3.0 a) c))
0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.3b
(* (* 3.0 a) c)
29.8b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
14×add-exp-log add-cbrt-cube
10×add-log-exp
pow1
add-sqr-sqrt add-cube-cbrt
distribute-lft-out
times-frac associate-/l*
prod-exp cbrt-unprod
distribute-rgt-neg-in associate-*r* pow-prod-down
cbrt-undiv neg-sub0 associate-+l- flip3-+ div-exp sum-log flip-+ associate-/l/
+-commutative sub-neg flip3-- frac-2neg diff-log div-sub associate-*l* neg-log clear-num associate-/r* *-commutative flip-- div-inv
Counts
4 → 73
Calls
4 calls:
10.0ms
(- (* b b) (* (* 3.0 a) c))
76.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
19.0ms
(* (* 3.0 a) c)
23.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series260.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* b b) (* (* 3.0 a) c))
110.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
23.0ms
(* (* 3.0 a) c)
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify59.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0419716
11930613
25002608

prune175.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.3b
(* 3.0 (* a c))
0.3b
(* (* 3.0 a) c)
0.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite659.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt *-un-lft-identity
40×add-cube-cbrt
30×associate-/l*
28×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
14×pow1
10×distribute-rgt-neg-in sqrt-prod
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp
pow-prod-down associate-/r/
associate-*r* associate-*l* div-inv add-log-exp
flip3-- div-sub flip-- associate-/l/
associate-+l- frac-2neg clear-num *-commutative
flip3-+ flip-+
Counts
4 → 159
Calls
4 calls:
291.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
18.0ms
(* 3.0 (* a c))
19.0ms
(* (* 3.0 a) c)
322.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series348.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
20.0ms
(* 3.0 (* a c))
20.0ms
(* (* 3.0 a) c)
134.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify117.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
06843100
132962567
250022533

prune426.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.3b
(* (* 3.0 a) c)
0.3b
(* (* 3.0 a) c)
0.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite658.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt *-un-lft-identity
40×add-cube-cbrt
30×associate-/l*
28×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
14×pow1
10×distribute-rgt-neg-in sqrt-prod
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp
associate-*r* pow-prod-down associate-/r/
div-inv add-log-exp
flip3-- div-sub flip-- associate-/l/
associate-+l- frac-2neg associate-*l* clear-num *-commutative
flip3-+ flip-+
Counts
4 → 159
Calls
4 calls:
290.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
19.0ms
(* (* 3.0 a) c)
19.0ms
(* (* 3.0 a) c)
322.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series348.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
20.0ms
(* (* 3.0 a) c)
20.0ms
(* (* 3.0 a) c)
135.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify109.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
06273101
131392568
250012534

prune410.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.3b
(* (* 3.0 a) c)
0.3b
(* (* 3.0 a) c)
0.4b
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

rewrite409.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log add-cbrt-cube
19×pow1
13×add-sqr-sqrt *-un-lft-identity associate-*r*
12×prod-exp cbrt-unprod
add-cube-cbrt pow-prod-down
associate-*r/ add-log-exp
cbrt-undiv times-frac div-exp associate-*l* *-commutative associate-/l*
distribute-rgt-in sub-neg flip3-- distribute-lft-in associate-/r/ flip-- associate-/l/ distribute-lft-out-- difference-of-squares
associate-+l- distribute-rgt-neg-in frac-2neg flip3-+ div-sub clear-num associate-/r* sqrt-prod flip-+ div-inv
Counts
4 → 92
Calls
4 calls:
79.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
19.0ms
(* (* 3.0 a) c)
19.0ms
(* (* 3.0 a) c)
289.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

series287.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
20.0ms
(* (* 3.0 a) c)
20.0ms
(* (* 3.0 a) c)
135.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

simplify96.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
04631135
12768843
25003827

prune239.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes114.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02116
12116

end0.0ms

sample1.6s

Algorithm
intervals
Results
338.0ms3682×body320valid
284.0ms16032×pre80true
239.0ms8032×body80nan
182.0ms2934×body160valid
61.0ms449×body640valid
31.0ms935×body80valid