Details

Time bar (total: 5.9s)

sample47.0ms

Algorithm
intervals
Results
9.0ms536×pre80true
9.0ms144×body160valid
9.0ms280×body80nan
4.0ms112×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.1b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.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:
7.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
36.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series245.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
45.0ms
(- (* b b) (* (* 3.0 a) c))
104.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify54.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0419716
11930613
25002608

prune176.0ms

Filtered
85 candidates to 59 candidates (69.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.5b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* b b) (* (* 3.0 a) c))
0.3b
(/ (+ (- (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.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite365.0ms

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

series349.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 3.0 a) c))
161.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))
123.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify110.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
07013126
131882612
250032569

prune420.0ms

Filtered
165 candidates to 104 candidates (63.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite166.0ms

Algorithm
rewrite-expression-head
Rules
438×times-frac
271×add-sqr-sqrt *-un-lft-identity
226×distribute-rgt-neg-in
188×distribute-lft-neg-in
120×associate-/l*
119×add-cube-cbrt
76×distribute-lft-out-- difference-of-squares
74×neg-mul-1
38×sqrt-prod
23×add-exp-log add-cbrt-cube
19×associate-/r*
pow1
cbrt-undiv div-exp
associate-/r/ distribute-neg-frac add-log-exp
prod-exp cbrt-unprod
flip3-- flip-- div-inv
div-sub distribute-frac-neg associate-*r* pow-prod-down
neg-sub0 frac-2neg clear-num
sub-neg diff-log associate-*l* *-commutative associate-/l/
Counts
4 → 428
Calls
4 calls:
6.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
46.0ms
(/ (- (* (* 3.0 a) c)) (- (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
86.0ms
(/ (/ (- (* (* 3.0 a) c)) (- (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

series403.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
45.0ms
(- (* b b) (* (* 3.0 a) c))
182.0ms
(/ (- (* (* 3.0 a) c)) (- (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
157.0ms
(/ (/ (- (* (* 3.0 a) c)) (- (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

simplify91.0ms

Algorithm
egg-herbie
Counts
440 → 440
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012397847
150027603

prune913.0ms

Filtered
440 candidates to 274 candidates (62.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
0.3b
(- (* b b) (* (* 3.0 a) c))
0.4b
(* (/ (- (* 3.0 a)) (- 1)) (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
0.4b
(/ (* (/ (- (* 3.0 a)) (- 1)) (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
86×times-frac
69×add-sqr-sqrt
65×associate-*l*
62×add-exp-log add-cbrt-cube
57×*-un-lft-identity
45×add-cube-cbrt
31×distribute-rgt-neg-in
30×associate-*r*
28×distribute-lft-neg-in
22×cbrt-undiv div-exp
20×prod-exp cbrt-unprod
16×neg-mul-1
11×pow1
distribute-lft-out-- add-log-exp difference-of-squares
pow-prod-down unswap-sqr
distribute-frac-neg sqrt-prod div-inv associate-/l/
distribute-lft-neg-out frac-times flip3-- associate-*r/ associate-*l/ associate-/r/ *-commutative flip--
sub-neg frac-2neg diff-log clear-num associate-/r* associate-/l*
Counts
4 → 183
Calls
4 calls:
6.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
86.0ms
(* (/ (- (* 3.0 a)) (- 1)) (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
22.0ms
(/ (* (/ (- (* 3.0 a)) (- 1)) (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

series382.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
45.0ms
(- (* b b) (* (* 3.0 a) c))
175.0ms
(* (/ (- (* 3.0 a)) (- 1)) (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
142.0ms
(/ (* (/ (- (* 3.0 a)) (- 1)) (/ c (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

simplify49.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
010822758
150012264

prune458.0ms

Filtered
195 candidates to 132 candidates (67.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes142.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02915
13515
24215
34415
44415

end0.0ms

sample1.3s

Algorithm
intervals
Results
298.0ms16511×pre80true
289.0ms4451×body160valid
260.0ms8511×body80nan
118.0ms3549×body80valid