Details

Time bar (total: 6.1s)

sample51.0ms

Algorithm
intervals
Results
9.0ms321×body80nan
9.0ms577×pre80true
8.0ms142×body160valid
3.0ms114×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.2b
(- (* b b) (* (* 3.0 a) c))
0.4b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
28.7b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite114.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:
17.0ms
(* (* 3.0 a) c)
7.0ms
(- (* b b) (* (* 3.0 a) c))
66.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
20.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series220.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (* 3.0 a) c)
41.0ms
(- (* b b) (* (* 3.0 a) c))
94.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
68.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify54.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0419716
11930613
25002608

prune160.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
0.3b
(* 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))

rewrite591.0ms

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

series340.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06643240
128682713
250012670

prune426.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 3.0 a) c))
0.2b
(- (- b) (sqrt (- (* 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))

rewrite583.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
82×add-sqr-sqrt *-un-lft-identity
38×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
11×distribute-rgt-neg-in sqrt-prod
10×add-log-exp
associate-/r*
cbrt-undiv div-exp
associate-/r/
flip3-- flip--
pow1 div-inv
diff-log div-sub associate-/l/
associate-+l- sub-neg frac-2neg prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 flip3-+ neg-log flip-+
Counts
4 → 153
Calls
4 calls:
8.0ms
(- (* b b) (* (* 3.0 a) c))
23.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
260.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
286.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series362.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (* b b) (* (* 3.0 a) c))
67.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
142.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
113.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify105.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06643272
130252791
250022743

prune402.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 3.0 a) c))
0.2b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
0.4b
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 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))))))

rewrite362.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
15×add-sqr-sqrt *-un-lft-identity
10×add-log-exp
pow1
add-cube-cbrt associate-*r*
prod-exp cbrt-unprod
sub-neg flip3-- associate-*r/ flip-- distribute-lft-out-- difference-of-squares
cbrt-undiv times-frac diff-log div-exp pow-prod-down associate-/l*
distribute-rgt-in distribute-rgt-neg-in distribute-lft-in sqrt-prod associate-/r/ associate-/l/
associate--l- neg-sub0 associate-+l- frac-2neg flip3-+ div-sub associate-*l* neg-log clear-num associate-/r* *-commutative flip-+ div-inv
Counts
4 → 86
Calls
4 calls:
7.0ms
(- (* b b) (* (* 3.0 a) c))
23.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
70.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
259.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

series318.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (* b b) (* (* 3.0 a) c))
68.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
97.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
112.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

simplify97.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
05381306
130681020
250031000

prune224.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

regimes163.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02919
14019
24819
34819

end0.0ms

sample1.4s

Algorithm
intervals
Results
278.0ms4506×body160valid
269.0ms16473×pre80true
250.0ms8473×body80nan
108.0ms3494×body80valid