Details

Time bar (total: 3.9s)

sample85.0ms

Algorithm
intervals
Results
42.0ms276×body80valid
11.0ms78×body80nan

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
014137
114137

prune23.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 18.2b

Counts
2 → 1

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

rewrite27.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)))
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series75.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- (* b b) (* (* 4.0 a) c))
18.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify41.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
05289908

prune216.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New60969
Fresh000
Picked101
Done000
Total61970

Merged error: 5.7b

Counts
70 → 9

localize30.0ms

Local error

Found 4 expressions with local error:

1.7b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.7b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.7b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

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

series66.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
04954977
14954977

prune259.0ms

Filtered
59 candidates to 72 candidates (-22.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh088
Picked011
Done000
Total701181

Merged error: 5.7b

Counts
81 → 11

localize42.0ms

Local error

Found 4 expressions with local error:

21.7b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.7b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.7b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.7b
(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:
5.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)))

series66.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05112932

prune369.0ms

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

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh099
Picked011
Done011
Total721183

Merged error: 5.7b

Counts
83 → 11

localize32.0ms

Local error

Found 4 expressions with local error:

11.0b
(+ (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
21.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.6b
(cbrt (- (* b b) (* 4.0 (* a c))))
22.6b
(cbrt (- (* b b) (* 4.0 (* a c))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
add-exp-log cbrt-div add-cbrt-cube
flip3-- sqrt-prod flip--
pow1/3 sqrt-div sum-log
+-commutative neg-sub0 associate-+l- rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 54
Calls
4 calls:
5.0ms
(+ (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

series111.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
16.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
30.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
29.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

simplify41.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050101157

prune206.0ms

Filtered
55 candidates to 66 candidates (-20.0%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh088
Picked011
Done022
Total661177

Merged error: 5.7b

Counts
77 → 11

regimes358.0ms

Accuracy

92% (1.2b remaining)

Error of 7.0b against oracle of 5.8b and baseline of 20.3b

bsearch65.0ms

Steps
ItersRangePoint
6
1.1487243557305423e+102
6.148420459531844e+102
1.2103210471679694e+102
9
-1.589409284886386e+110
-1.5966504054646543e+104
-1.564975898876169e+107

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057133
157133

end0.0ms

sample1.6s

Algorithm
intervals
Results
846.0ms8720×body80valid
271.0ms2972×body80nan

Profiling

Loading profile data...