Details

Time bar (total: 3.3s)

sample55.0ms

Algorithm
intervals
Results
28.0ms289×body80valid
7.0ms79×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
015737
115737

prune15.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.4b

Counts
2 → 2

localize27.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.7b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite25.0ms

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

series73.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- (* b b) (* (* 4.0 a) c))
17.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
16.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
26.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify41.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
05289908

prune181.0ms

Filtered
58 candidates to 69 candidates (-19.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New65469
Fresh011
Picked101
Done000
Total66571

Merged error: 6.2b

Counts
71 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* 4.0 (* a c)))
1.7b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite22.0ms

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

series59.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
18.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify33.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
05552929

prune151.0ms

Filtered
53 candidates to 69 candidates (-30.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New69069
Fresh044
Picked011
Done000
Total69574

Merged error: 6.2b

Counts
74 → 5

localize32.0ms

Local error

Found 4 expressions with local error:

21.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.1b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- add-log-exp
Counts
4 → 60
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
5.0ms
(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)))

series65.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
17.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
16.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify38.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
05112932

prune263.0ms

Filtered
61 candidates to 72 candidates (-18.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh033
Picked011
Done011
Total72577

Merged error: 6.2b

Counts
77 → 5

localize30.0ms

Local error

Found 4 expressions with local error:

1.7b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.6b
(* c (/ a b))
4.5b
(/ (- (neg b) (- b (* 2.0 (* c (/ a b))))) (* 2.0 a))
21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
25×add-sqr-sqrt
16×times-frac
15×add-cube-cbrt
14×add-exp-log add-cbrt-cube
13×associate-*r*
add-log-exp
pow1
associate-/l*
distribute-lft-out--
cbrt-undiv distribute-rgt-neg-in div-exp associate-*l* prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- div-inv associate-/l/ distribute-lft-out difference-of-squares unswap-sqr
+-commutative neg-sub0 associate-+l- rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 div-sub associate-*r/ pow-prod-down neg-log clear-num associate-/r* *-commutative flip-+
Counts
4 → 92
Calls
4 calls:
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(* c (/ a b))
10.0ms
(/ (- (neg b) (- b (* 2.0 (* c (/ a b))))) (* 2.0 a))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series51.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
6.0ms
(* c (/ a b))
13.0ms
(/ (- (neg b) (- b (* 2.0 (* c (/ a b))))) (* 2.0 a))
16.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify38.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
049931300
149931300

prune171.0ms

Filtered
77 candidates to 104 candidates (-35.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1022104
Fresh022
Picked101
Done022
Total1036109

Merged error: 6.2b

Counts
109 → 6

regimes221.0ms

Accuracy

93% (1.0b remaining)

Error of 6.9b against oracle of 5.9b and baseline of 20.3b

bsearch71.0ms

Steps
ItersRangePoint
10
1.1487243557305423e+102
3.920821933018458e+112
1.0467953012742888e+112
7
-4.262816151522474e+111
-1.589409284886386e+110
-4.2185216526367483e+111

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
062111
162111

end0.0ms

sample1.6s

Algorithm
intervals
Results
841.0ms8785×body80valid
273.0ms2992×body80nan

Profiling

Loading profile data...