Details

Time bar (total: 5.1s)

analyze731.0ms

Algorithm
search

sample38.0ms

Algorithm
intervals
Results
22.0ms256×body80valid
1.0ms13×body80nan
1.0ms10×body80invalid

simplify367.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.1b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* b b) (* (* 4.0 a) c))
2.2b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite22.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:
3.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series74.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
37.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify123.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0231531
1915501
24084489
35002486

prune218.0ms

Filtered
55 candidates to 69 candidates (-25.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New63669
Fresh000
Picked101
Done000
Total64670

Merged error: 8.6b

Counts
70 → 6

localize24.0ms

Local error

Found 4 expressions with local error:

11.5b
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.0ms

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

series61.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0221722
1829631
23533612
35001595

prune220.0ms

Filtered
63 candidates to 72 candidates (-14.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New69372
Fresh145
Picked101
Done000
Total71778

Merged error: 8.6b

Counts
78 → 7

localize28.0ms

Local error

Found 4 expressions with local error:

8.3b
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.3b
(cbrt (- (* b b) (* (* 4.0 a) c)))
24.3b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.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 flip3-- add-cbrt-cube flip--
sqrt-prod
pow1/3 sqrt-div diff-log
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 neg-log
Counts
4 → 55
Calls
4 calls:
4.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)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series103.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
17.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
26.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0377866
11391791
25001755

prune233.0ms

Filtered
60 candidates to 67 candidates (-11.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New66167
Fresh066
Picked011
Done000
Total66874

Merged error: 8.6b

Counts
74 → 8

localize24.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* b b) (* (* 4.0 a) c))
3.1b
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
6.6b
(/ (* a c) b)
23.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite22.0ms

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

series43.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
16.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
5.0ms
(/ (* a c) b)
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify49.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0423596
11940520
25002518

prune128.0ms

Filtered
61 candidates to 84 candidates (-37.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New82284
Fresh066
Picked101
Done011
Total83992

Merged error: 7.0b

Counts
92 → 9

regimes281.0ms

Accuracy

92.3% (1.1b remaining)

Error of 7.9b against oracle of 6.8b and baseline of 21.1b

bsearch596.0ms

Steps
ItersRangePoint
9
5.861930467183623e+87
5.1667852289507864e+94
3.888274402711614e+94
9
-2.3923055925670283e+82
-1.2794925325132113e+74
-2.3516286670485864e+82

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05655
15655

end0.0ms

analyze549.0ms

Algorithm
search

sample964.0ms

Algorithm
intervals
Results
682.0ms8000×body80valid
54.0ms671×body80nan
32.0ms396×body80invalid

Profiling

Loading profile data...