Details

Time bar (total: 8.0s)

sample53.0ms

Algorithm
intervals
Results
31.0ms282×body80valid
7.0ms72×body80nan

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03918
18018
214318
317718
418918
519318
619318

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.1b

localize112.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.2b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite26.0ms

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

series262.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* (* 4.0 a) c))
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify136.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0264600
11046558
24657542
35001542

prune364.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 8.7b

localize117.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
3.6b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
6.9b
(/ (* a c) b)
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite52.0ms

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

series312.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* b b) (* (* 4.0 a) c))
177.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
19.0ms
(/ (* a c) b)
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0418685
12079598
25001591

prune385.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 7.5b

localize123.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
3.6b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))) b)))
4.2b
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite284.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
33×times-frac
30×add-exp-log *-un-lft-identity
23×add-cbrt-cube
22×add-cube-cbrt associate-*r*
11×cbrt-prod
cbrt-undiv div-exp prod-exp cbrt-unprod
pow1 associate-*l*
add-log-exp unswap-sqr
associate-/r*
expm1-log1p-u log1p-expm1-u distribute-lft-out
sqrt-prod div-inv
flip3-- distribute-rgt-neg-in sqrt-div associate-/r/ flip--
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 *-commutative flip-+ associate-/l*
Counts
4 → 123
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
242.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))) b)))
29.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series381.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* b b) (* (* 4.0 a) c))
211.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))) b)))
48.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ c (cbrt b)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify90.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
07141403
136361218
250021168

prune633.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 7.5b

localize136.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
3.6b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* (* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt 1))) (/ (cbrt c) (cbrt b)))) b)))
3.8b
(* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt 1)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite1.4s

Algorithm
rewrite-expression-head
Rules
45×add-exp-log
27×add-sqr-sqrt add-cbrt-cube
24×times-frac
22×*-un-lft-identity
16×prod-exp cbrt-unprod
14×cbrt-undiv div-exp
12×add-cube-cbrt
10×associate-*r*
unswap-sqr
pow1 cbrt-prod associate-*l*
add-log-exp
associate-/r*
expm1-log1p-u log1p-expm1-u distribute-lft-out
sqrt-prod div-inv
flip3-- distribute-rgt-neg-in sqrt-div associate-/r/ flip--
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 *-commutative flip-+ associate-/l*
Counts
4 → 119
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
1.4s
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* (* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt 1))) (/ (cbrt c) (cbrt b)))) b)))
26.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt 1)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series382.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- (* b b) (* (* 4.0 a) c))
181.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (* (* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt 1))) (/ (cbrt c) (cbrt b)))) b)))
81.0ms
(* (/ a (* (cbrt b) (cbrt b))) (/ (* (cbrt c) (cbrt c)) (cbrt 1)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify87.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
07711847
136381569
250021537

prune634.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 7.5b

regimes299.0ms

Accuracy

92.4% (1.1b remaining)

Error of 7.7b against oracle of 6.6b and baseline of 20.9b

bsearch258.0ms

Steps
ItersRangePoint
8
6.881289457293598e+137
5.567978725714423e+140
3.922543432969711e+140
4
-5.298221269177422e-294
-2.9938381031430046e-294
-3.031995261352465e-294
8
-1.0362695438716464e+73
-1.3278509001587353e+70
-3.702570868659243e+71

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07893
18093
28093

end0.0ms

sample1.4s

Algorithm
intervals
Results
877.0ms8718×body80valid
267.0ms2910×body80nan