Details

Time bar (total: 6.0s)

sample61.0ms

Algorithm
intervals
Results
14.0ms154×body160valid
9.0ms520×pre80true
9.0ms264×body80nan
4.0ms42×body320valid
2.0ms60×body80valid

simplify11.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: 44.6b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite111.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:
8.0ms
(- (* b b) (* (* 4.0 a) c))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
68.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
22.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series282.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* b b) (* (* 4.0 a) c))
62.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
99.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify49.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0438855
11702750
25002735

prune252.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(- (- b) (sqrt (- (* 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)))))

rewrite197.0ms

Algorithm
rewrite-expression-head
Rules
125×add-sqr-sqrt
124×*-un-lft-identity
90×times-frac
80×add-cube-cbrt
60×prod-diff
44×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
10×fma-neg
associate-/r* add-log-exp
cbrt-undiv neg-mul-1 div-exp
associate-/r/
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 232
Calls
4 calls:
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
29.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
85.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
60.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series446.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
144.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
169.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify146.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (105.0ms)

IterNodesCost
08295121
137723863
250013860

prune574.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite200.0ms

Algorithm
rewrite-expression-head
Rules
180×prod-diff
134×add-sqr-sqrt
133×*-un-lft-identity
125×add-cube-cbrt
95×sqrt-prod
62×distribute-rgt-in distribute-lft-in
59×distribute-rgt-neg-in
57×distribute-lft-neg-in
19×neg-mul-1
18×add-exp-log add-cbrt-cube
10×pow1 fma-neg
add-log-exp
associate-*r*
prod-exp cbrt-unprod
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
cbrt-undiv sub-neg times-frac div-exp pow-prod-down associate-/l*
sqrt-div diff-log associate-/r/ associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*l* neg-log clear-num associate-/r* *-commutative flip-+ div-inv
Counts
4 → 286
Calls
4 calls:
89.0ms
(* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
31.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
53.0ms
(/ (+ 0 (* 4.0 (* a c))) (* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

series379.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
137.0ms
(/ (+ 0 (* 4.0 (* a c))) (* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

simplify89.0ms

Algorithm
egg-herbie
Counts
298 → 298
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010078654
150015569

prune635.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
67×add-sqr-sqrt
66×*-un-lft-identity
62×add-cube-cbrt
61×prod-diff
34×sqrt-prod
33×times-frac
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
18×add-exp-log add-cbrt-cube
11×fma-neg
10×add-log-exp
cbrt-undiv neg-mul-1 div-exp associate-/l*
pow1 div-inv
expm1-log1p-u log1p-expm1-u
flip3-- diff-log prod-exp associate-/r* flip-- cbrt-unprod
sub-neg sqrt-div distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 neg-log clear-num associate-/l/
Counts
4 → 175
Calls
4 calls:
19.0ms
(/ (/ (* 4.0 (* a c)) 2.0) a)
11.0ms
(- (* b b) (* (* 4.0 a) c))
11.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
30.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series193.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(/ (/ (* 4.0 (* a c)) 2.0) a)
40.0ms
(- (* b b) (* (* 4.0 a) c))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
75.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify101.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07283239
133262118
250032079

prune372.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes111.0ms

Accuracy

0% (0.2b 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
02112
12112

end0.0ms

sample1.6s

Algorithm
intervals
Results
342.0ms4849×body160valid
289.0ms8347×body80nan
282.0ms16347×pre80true
142.0ms1336×body320valid
64.0ms1815×body80valid