Details

Time bar (total: 11.9s)

sample101.0ms

Algorithm
intervals
Results
26.0ms147×body160valid
24.0ms271×body80nan
19.0ms527×pre80true
11.0ms109×body80valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.2b
(- (* b b) (* (* 4.0 a) c))
0.3b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
29.0b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×add-cube-cbrt fma-def add-log-exp
add-exp-log add-cbrt-cube
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
35.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
13.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series310.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
44.0ms
(- (* b b) (* (* 4.0 a) c))
112.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify52.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0438854
11702750
25002735

prune261.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.4b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 4.0 a) c))
0.3b
(- (- b) (sqrt (- (* 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.4b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
123×add-sqr-sqrt *-un-lft-identity
90×times-frac
79×add-cube-cbrt
61×prod-diff
41×sqrt-prod
32×distribute-rgt-neg-in
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
21×distribute-lft-neg-in
18×add-exp-log add-cbrt-cube
11×fma-neg
10×add-log-exp
associate-/r*
cbrt-undiv neg-mul-1 div-exp
associate-/r/
flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u div-inv
diff-log associate-/l/
sub-neg frac-2neg prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 flip3-+ neg-log flip-+
Counts
4 → 231
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
19.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
43.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
28.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series467.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(- (* b b) (* (* 4.0 a) c))
74.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
154.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)))))

simplify160.0ms

Algorithm
egg-herbie
Counts
243 → 243
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
08325099
139673830
250013828

prune588.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4)))
0.4b
(* (* a c) (fma b b (* (* 4.0 a) c)))
0.4b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4))))))
0.8b
(pow (* (* 4.0 a) c) 3)

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
90×add-sqr-sqrt
58×*-un-lft-identity times-frac
36×difference-of-squares
34×add-cube-cbrt
21×sqr-pow
19×add-exp-log add-cbrt-cube
15×pow1
13×associate-/l*
12×distribute-lft-out--
11×associate-/r*
unpow-prod-down
sqrt-prod
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u associate-/l/ add-log-exp
pow-unpow pow-pow associate-*r* pow-exp rem-cube-cbrt
cbrt-undiv flip3-- frac-2neg div-exp clear-num associate-/r/ flip-- fma-udef div-inv
distribute-rgt-in cube-mult pow-to-exp distribute-lft-in flip3-+ unpow3 div-sub cube-prod associate-*l* *-commutative flip-+
Counts
4 → 162
Calls
4 calls:
33.0ms
(/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4)))
7.0ms
(* (* a c) (fma b b (* (* 4.0 a) c)))
98.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4))))))
7.0ms
(pow (* (* 4.0 a) c) 3)

series544.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4)))
66.0ms
(* (* a c) (fma b b (* (* 4.0 a) c)))
285.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (/ (- (pow b 6) (pow (* (* 4.0 a) c) 3)) (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4))))))
54.0ms
(pow (* (* 4.0 a) c) 3)

simplify150.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (121.0ms)

IterNodesCost
07533354
137243127
250013123

prune836.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize43.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (* (/ (+ (pow b (/ 6 2)) (pow (* (* 4.0 a) c) (/ 3 2))) (sqrt (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4)))) (/ (- (pow b (/ 6 2)) (pow (* (* 4.0 a) c) (/ 3 2))) (sqrt (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4))))))))
0.4b
(/ (- (pow b (/ 6 2)) (pow (* (* 4.0 a) c) (/ 3 2))) (sqrt (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4))))
0.4b
(pow (* (* 4.0 a) c) (/ 3 2))
0.4b
(pow (* (* 4.0 a) c) (/ 3 2))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
115×add-sqr-sqrt
96×times-frac
88×*-un-lft-identity
58×add-cube-cbrt
46×difference-of-squares
37×sqr-pow
33×sqrt-prod
26×pow-unpow
20×add-exp-log
16×pow1 unpow-prod-down
15×distribute-lft-out--
13×associate-/l*
12×associate-/r*
add-cbrt-cube
pow-pow pow-prod-down pow-exp prod-exp
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u div-inv associate-/l/ add-log-exp
cbrt-undiv pow-to-exp flip3-- frac-2neg div-exp clear-num associate-/r/ flip--
flip3-+ div-sub flip-+
Counts
4 → 200
Calls
4 calls:
20.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (* (/ (+ (pow b (/ 6 2)) (pow (* (* 4.0 a) c) (/ 3 2))) (sqrt (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4)))) (/ (- (pow b (/ 6 2)) (pow (* (* 4.0 a) c) (/ 3 2))) (sqrt (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4))))))))
28.0ms
(/ (- (pow b (/ 6 2)) (pow (* (* 4.0 a) c) (/ 3 2))) (sqrt (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4))))
7.0ms
(pow (* (* 4.0 a) c) (/ 3 2))
8.0ms
(pow (* (* 4.0 a) c) (/ 3 2))

series3.4s

Counts
4 → 12
Calls
4 calls:
3.1s
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (* (/ (+ (pow b (/ 6 2)) (pow (* (* 4.0 a) c) (/ 3 2))) (sqrt (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4)))) (/ (- (pow b (/ 6 2)) (pow (* (* 4.0 a) c) (/ 3 2))) (sqrt (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4))))))))
126.0ms
(/ (- (pow b (/ 6 2)) (pow (* (* 4.0 a) c) (/ 3 2))) (sqrt (fma 4.0 (* (* a c) (fma b b (* (* 4.0 a) c))) (pow b 4))))
88.0ms
(pow (* (* 4.0 a) c) (/ 3 2))
89.0ms
(pow (* (* 4.0 a) c) (/ 3 2))

simplify140.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
08355784
134115401
250025388

prune1.3s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes198.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02613
12813
22813

end0.0ms

sample2.9s

Algorithm
intervals
Results
783.0ms8768×body80nan
765.0ms4402×body160valid
602.0ms16768×pre80true
352.0ms3598×body80valid