Details

Time bar (total: 4.6s)

sample42.0ms

Algorithm
intervals
Results
19.0ms276×body80valid
7.0ms92×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.9b

Counts
2 → 1

localize131.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.0b
(- (* b b) (* (* 4.0 a) c))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 54
Calls
4 calls:
4.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series256.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(- (* b b) (* (* 4.0 a) c))
47.0ms
(- (* b b) (* (* 4.0 a) c))
77.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
80.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify86.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0149476
1576446
22486444
35001440

prune257.0ms

Filtered
66 candidates to 50 candidates (75.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New58866
Fresh000
Picked101
Done000
Total59867

Merged error: 8.6b

Counts
67 → 8

localize127.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
4.3b
(/ (- (- b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
5.7b
(/ (* a c) b)
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

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

series216.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(- (* b b) (* (* 4.0 a) c))
64.0ms
(/ (- (- b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
20.0ms
(/ (* a c) b)
80.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0426687
12047606
25001602

prune325.0ms

Filtered
90 candidates to 63 candidates (70.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New83790
Fresh437
Picked101
Done000
Total881098

Merged error: 7.8b

Counts
98 → 10

localize126.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 4.0 a) c)
0.9b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.0b
(- (* b b) (* (* 4.0 a) c))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 *-un-lft-identity add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 diff-log associate-*l* neg-log *-commutative flip-+
Counts
4 → 60
Calls
4 calls:
5.0ms
(* (* 4.0 a) c)
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 4.0 a) c)
85.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
46.0ms
(- (* b b) (* (* 4.0 a) c))
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0307469
11303428
25001417

prune249.0ms

Filtered
72 candidates to 52 candidates (72.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh369
Picked101
Done000
Total721082

Merged error: 7.7b

Counts
82 → 10

localize131.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt c)
0.9b
(+ (- b) (sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))))
1.0b
(- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))
24.7b
(sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
add-cube-cbrt
pow1
add-exp-log add-cbrt-cube
cbrt-prod sqrt-prod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 pow1/3 diff-log neg-log flip-+
Counts
4 → 53
Calls
4 calls:
1.0ms
(cbrt c)
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))))
3.0ms
(- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))
4.0ms
(sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c))))

series462.0ms

Counts
4 → 12
Calls
4 calls:
191.0ms
(cbrt c)
104.0ms
(+ (- b) (sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))))
70.0ms
(- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))
96.0ms
(sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c))))

simplify43.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0278736
11088660
25001614

prune253.0ms

Filtered
65 candidates to 54 candidates (83.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New65065
Fresh099
Picked011
Done000
Total651075

Merged error: 7.7b

Counts
75 → 10

regimes223.0ms

Accuracy

88.1% (1.7b remaining)

Error of 8.2b against oracle of 6.5b and baseline of 20.9b

bsearch149.0ms

Steps
ItersRangePoint
7
0.008549975533169097
1.4731263457460937
1.4443031837246074
6
-2.8573914020723285e+158
-3.9930817527980913e+157
-4.0541474925789433e+157

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05960
16160
26160

end0.0ms

sample1.1s

Algorithm
intervals
Results
602.0ms8726×body80valid
192.0ms2883×body80nan