Details

Time bar (total: 7.8s)

sample109.0ms

Algorithm
intervals
Results
26.0ms112×body320valid
23.0ms242×body80nan
18.0ms498×pre80true
15.0ms91×body160valid
6.0ms20×body640valid
3.0ms33×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 52.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
26.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

rewrite52.0ms

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

series313.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
49.0ms
(- (* b b) (* (* 4.0 a) c))
110.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0405779
11563685
25002674

prune189.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.3b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 148
Calls
4 calls:
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(- (* b b) (* (* 4.0 a) c))
42.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
29.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series465.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
53.0ms
(- (* b b) (* (* 4.0 a) c))
155.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
187.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify119.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
06402579
131572332
250012319

prune423.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ (- (* 0 0) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* 4.0 (* a c))))) (* 2.0 a))
0.3b
(* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* 4.0 (* a c))))
0.3b
(/ (- (* 0 0) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* 4.0 (* a c)))))
0.5b
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
120×pow1
68×add-exp-log add-cbrt-cube
67×pow-prod-down
34×prod-exp cbrt-unprod
28×times-frac
25×flip3-- flip--
24×associate-/r/
20×associate-/l*
18×add-sqr-sqrt
16×frac-times *-un-lft-identity
12×cbrt-undiv add-cube-cbrt div-exp
pow-sqr pow-prod-up
associate-*r/ associate-*l* associate-*l/
difference-of-squares
associate-*r* div-inv add-log-exp
pow-plus div-sub associate-/l/
distribute-rgt-in sub-neg frac-2neg distribute-lft-in clear-num associate-/r* *-commutative distribute-lft-out--
pow2 distribute-rgt-neg-in sub0-neg swap-sqr sqrt-prod distribute-rgt-neg-out unswap-sqr
Counts
4 → 186
Calls
4 calls:
32.0ms
(/ (/ (- (* 0 0) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* 4.0 (* a c))))) (* 2.0 a))
48.0ms
(* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* 4.0 (* a c))))
25.0ms
(/ (- (* 0 0) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* 4.0 (* a c)))))
29.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

series505.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(/ (/ (- (* 0 0) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* 4.0 (* a c))))) (* 2.0 a))
125.0ms
(* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* 4.0 (* a c))))
189.0ms
(/ (- (* 0 0) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* 4.0 (* a c)))))
37.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09233244
150022625

prune537.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (/ (- 0 (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* (* 4.0 (* a c)) (* 4.0 (* a c)))))) 2.0) (/ (+ 0 (* 4.0 (* a c))) a))
0.3b
(/ (- 0 (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* (* 4.0 (* a c)) (* 4.0 (* a c))))))
0.5b
(* (* 4.0 (* a c)) (* 4.0 (* a c)))
0.5b
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

rewrite192.0ms

Algorithm
rewrite-expression-head
Rules
234×pow1
133×pow-prod-down
113×add-exp-log add-cbrt-cube
77×times-frac
65×prod-exp cbrt-unprod
54×associate-*l*
53×add-sqr-sqrt
36×add-cube-cbrt *-un-lft-identity
32×associate-/r/
25×flip3-- flip--
18×pow-sqr pow-prod-up
17×frac-times
16×cbrt-undiv div-exp
15×associate-*r*
associate-*r/ associate-*l/
pow-plus div-inv
difference-of-squares
associate-/l* add-log-exp unswap-sqr
distribute-frac-neg *-commutative
pow2 sub0-neg swap-sqr associate-/l/
distribute-lft-neg-out frac-2neg div-sub clear-num associate-/r*
Counts
4 → 253
Calls
4 calls:
96.0ms
(* (/ (/ (- 0 (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* (* 4.0 (* a c)) (* 4.0 (* a c)))))) 2.0) (/ (+ 0 (* 4.0 (* a c))) a))
23.0ms
(/ (- 0 (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* (* 4.0 (* a c)) (* 4.0 (* a c))))))
29.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))
29.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

series406.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(* (/ (/ (- 0 (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* (* 4.0 (* a c)) (* 4.0 (* a c)))))) 2.0) (/ (+ 0 (* 4.0 (* a c))) a))
170.0ms
(/ (- 0 (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (* (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (- 0 (* (* 4.0 (* a c)) (* 4.0 (* a c))))))
37.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))
43.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

simplify64.0ms

Algorithm
egg-herbie
Counts
265 → 265
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012674515
150023675

prune670.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes122.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02814
13214
23214

end0.0ms

sample3.2s

Algorithm
intervals
Results
864.0ms3685×body320valid
707.0ms8199×body80nan
590.0ms16199×pre80true
488.0ms2937×body160valid
153.0ms498×body640valid
82.0ms880×body80valid