Details

Time bar (total: 9.2s)

sample46.0ms

Algorithm
intervals
Results
9.0ms516×pre80true
9.0ms137×body160valid
8.0ms260×body80nan
4.0ms119×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.6b

localize14.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))
27.4b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite30.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:
5.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
12.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series446.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
48.0ms
(- (* b b) (* (* 3.0 a) c))
298.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify56.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0419716
11930613
25002608

prune180.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

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

rewrite74.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:
5.0ms
(* 3.0 (* a c))
4.0ms
(- (* b b) (* (* 3.0 a) c))
26.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
32.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series352.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* 3.0 (* a c))
46.0ms
(- (* b b) (* (* 3.0 a) c))
159.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
127.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify112.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
07013126
131882612
250032569

prune424.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize13.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))

rewrite80.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:
5.0ms
(* (* 3.0 a) c)
4.0ms
(- (* b b) (* (* 3.0 a) c))
18.0ms
(/ (- (* (* 3.0 a) c)) (- (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
29.0ms
(/ (/ (- (* (* 3.0 a) c)) (- (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

series412.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
47.0ms
(- (* b b) (* (* 3.0 a) c))
187.0ms
(/ (- (* (* 3.0 a) c)) (- (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
159.0ms
(/ (/ (- (* (* 3.0 a) c)) (- (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) (* 3.0 a))

simplify94.0ms

Algorithm
egg-herbie
Counts
440 → 440
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012397847
150027603

prune958.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 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.4b
(/ (/ (* 3.0 a) (- 1)) (/ (* 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))))))

rewrite248.0ms

Algorithm
rewrite-expression-head
Rules
4360×times-frac
1572×add-sqr-sqrt *-un-lft-identity
892×add-cube-cbrt
773×distribute-rgt-neg-in
603×distribute-lft-neg-in
340×distribute-lft-out-- difference-of-squares
201×neg-mul-1
170×sqrt-prod
157×associate-/r*
116×div-inv
90×add-exp-log add-cbrt-cube
51×associate-/r/
49×cbrt-undiv div-exp
18×flip3-- flip--
16×prod-exp cbrt-unprod
15×associate-/l*
pow1
add-log-exp
associate-*r* pow-prod-down
frac-2neg clear-num
sub-neg diff-log associate-*l* *-commutative associate-/l/
Counts
4 → 1473
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
4.0ms
(- (* b b) (* (* 3.0 a) c))
56.0ms
(/ (/ (* 3.0 a) (- 1)) (/ (* 3.0 a) (/ (- c) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))))
22.0ms
(/ (* 3.0 a) (/ (- c) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

series377.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
48.0ms
(- (* b b) (* (* 3.0 a) c))
149.0ms
(/ (/ (* 3.0 a) (- 1)) (/ (* 3.0 a) (/ (- c) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))))
160.0ms
(/ (* 3.0 a) (/ (- c) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

simplify319.0ms

Algorithm
egg-herbie
Counts
1485 → 1485
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
0500236538

prune3.5s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes150.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02925
12925

end0.0ms

sample1.3s

Algorithm
intervals
Results
303.0ms16393×pre80true
300.0ms4493×body160valid
258.0ms8393×body80nan
121.0ms3507×body80valid