Details

Time bar (total: 5.6s)

sample65.0ms

Algorithm
intervals
Results
17.0ms117×body320valid
10.0ms504×pre80true
9.0ms248×body80nan
8.0ms95×body160valid
2.0ms15×body640valid
1.0ms29×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: 51.3b

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

rewrite29.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:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series309.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
48.0ms
(- (* b b) (* (* 4.0 a) c))
107.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
82.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify43.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0405779
11563685
25002674

prune188.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.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 associate-/l/
sub-neg frac-2neg prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 flip3-+ neg-log flip-+
Counts
4 → 151
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
9.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
13.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series475.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(- (* b b) (* (* 4.0 a) c))
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
157.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
191.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify116.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
06422664
131752400
250032388

prune434.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.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 frac-2neg flip3-+ associate-*l* neg-log clear-num associate-/r* *-commutative flip-+ div-inv
Counts
4 → 85
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
13.0ms
(* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
9.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.0ms
(/ (+ 0 (* 4.0 (* a c))) (* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

series399.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* b b) (* (* 4.0 a) c))
119.0ms
(* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
158.0ms
(/ (+ 0 (* 4.0 (* a c))) (* (* 2.0 a) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

simplify124.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
05221156
13447949
25002944

prune267.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
118×pow1
66×pow-prod-down
51×add-exp-log add-cbrt-cube
32×add-sqr-sqrt
30×prod-exp cbrt-unprod
22×times-frac
21×*-un-lft-identity
17×add-cube-cbrt
15×difference-of-squares
pow-sqr pow-prod-up associate-/l*
add-log-exp
cbrt-undiv unpow-prod-down div-exp associate-/r* associate-/r/ associate-/l/ sqr-pow
flip3-- pow-plus flip--
frac-2neg flip3-+ diff-log associate-*r/ clear-num sqrt-prod flip-+ div-inv distribute-lft-out--
associate--l- pow2 neg-sub0 sub-neg distribute-rgt-neg-in div-sub swap-sqr associate-*r* associate-*l* neg-log *-commutative
Counts
4 → 150
Calls
4 calls:
25.0ms
(- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))))
28.0ms
(/ (+ 0 (* 4.0 (* a c))) (* (* 2.0 a) (- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))))))
11.0ms
(/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))
12.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

series464.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))))
196.0ms
(/ (+ 0 (* 4.0 (* a c))) (* (* 2.0 a) (- (- b) (sqrt (/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))))))
96.0ms
(/ (- (pow b 4) (* (* 4.0 (* a c)) (* 4.0 (* a c)))) (+ (* b b) (* (* 4.0 a) c)))
39.0ms
(* (* 4.0 (* a c)) (* 4.0 (* a c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
08242415
150021986

prune439.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes97.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03221
13521
23521

end0.0ms

sample1.8s

Algorithm
intervals
Results
443.0ms3624×body320valid
322.0ms16153×pre80true
315.0ms8153×body80nan
237.0ms2928×body160valid
86.0ms527×body640valid
37.0ms921×body80valid