Details

Time bar (total: 7.0s)

sample103.0ms

Algorithm
intervals
Results
23.0ms119×body320valid
22.0ms272×body80nan
19.0ms528×pre80true
13.0ms99×body160valid
4.0ms16×body640valid
2.0ms22×body80valid

simplify12.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: 54.0b

localize12.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))
27.6b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

rewrite60.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:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
37.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
13.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series297.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
43.0ms
(- (* b b) (* (* 4.0 a) c))
103.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify51.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0438854
11702750
25002735

prune250.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize19.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.2b
(/ (/ (+ 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)))))

rewrite90.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--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log prod-diff flip-+
Counts
4 → 158
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
47.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)))))

series445.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
43.0ms
(- (* b b) (* (* 4.0 a) c))
148.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
184.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify126.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (102.0ms)

IterNodesCost
06742663
134712411
250012406

prune471.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
95×add-exp-log
69×times-frac
63×add-cbrt-cube
50×add-sqr-sqrt *-un-lft-identity
45×div-exp
31×prod-exp
27×cbrt-undiv
26×add-cube-cbrt
17×cbrt-unprod
13×associate-/r*
12×distribute-lft-out-- difference-of-squares
11×associate-/l*
1-exp
div-inv
distribute-rgt-neg-in sqrt-prod add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg clear-num associate-/l/
flip3-- flip--
sub-neg fma-neg diff-log div-sub associate-*r/ prod-diff associate-/r/
Counts
4 → 160
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
22.0ms
(/ (* 1 (/ 4.0 (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c)))) (* 2.0 a))
44.0ms
(/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c))
28.0ms
(/ 4.0 (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c)))

series437.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 4.0 a) c))
123.0ms
(/ (* 1 (/ 4.0 (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c)))) (* 2.0 a))
102.0ms
(/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c))
163.0ms
(/ 4.0 (/ (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* a c)))

simplify49.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
09462591
150022156

prune410.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize17.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)))))
0.4b
(* (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ 1 (* 2.0 a)))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
58×*-un-lft-identity
51×add-exp-log
46×times-frac
30×add-cube-cbrt
27×associate-*l* add-cbrt-cube
20×prod-exp
16×div-exp
14×distribute-lft-out-- difference-of-squares
10×sqrt-prod
cbrt-undiv cbrt-unprod
pow1 distribute-rgt-neg-in associate-*r* associate-/r*
add-log-exp
expm1-log1p-u rec-exp flip3-- 1-exp associate-/r/ flip-- log1p-expm1-u
div-inv associate-/l*
sqrt-div associate-/l/ unswap-sqr
frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num un-div-inv *-commutative flip-+
Counts
4 → 153
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
28.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
68.0ms
(* (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ 1 (* 2.0 a)))

series455.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
48.0ms
(- (* b b) (* (* 4.0 a) c))
186.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
152.0ms
(* (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (/ 1 (* 2.0 a)))

simplify153.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07662390
142392056
250012056

prune416.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes105.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02613
12813
22813

end0.0ms

sample2.8s

Algorithm
intervals
Results
688.0ms3613×body320valid
556.0ms8188×body80nan
550.0ms16188×pre80true
395.0ms2942×body160valid
136.0ms535×body640valid
67.0ms910×body80valid