Details

Time bar (total: 3.5s)

analyze493.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
18.7%81.1%0.1%6
26.5%67.1%6.4%7
35.1%58.5%6.4%8
41.3%49.9%8.7%9
46.4%40.2%13.4%10
50.8%34.2%15%11
55.2%26.7%18.1%12
57.4%22%20.6%13
59.8%17.9%22.3%14

sample35.0ms

Algorithm
intervals
Results
21.0ms256×body80valid
2.0ms20×body80nan
1.0ms13×body80invalid

simplify215.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (213.0ms)

IterNodesCost
0353237
1353237

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.9b

Counts
2 → 2

localize21.0ms

Local error

Found 4 expressions with local error:

1.1b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.7b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite27.0ms

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

series60.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049001063
149001063

prune184.0ms

Filtered
63 candidates to 74 candidates (-17.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New68674
Fresh011
Picked101
Done000
Total69776

Merged error: 5.9b

Counts
76 → 7

localize21.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
1.7b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
21.9b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite26.0ms

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

series60.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
15.0ms
(- (neg b) (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))))

simplify72.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
048951082
148951082

prune166.0ms

Filtered
58 candidates to 73 candidates (-25.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New72173
Fresh066
Picked101
Done000
Total73780

Merged error: 5.9b

Counts
80 → 7

localize30.0ms

Local error

Found 4 expressions with local error:

14.2b
(- (neg b) (* (sqrt (sqrt (- (* b b) (* 4.0 (* a c))))) (sqrt (sqrt (- (* b b) (* 4.0 (* a c)))))))
21.9b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.9b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.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 → 59
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)))

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

simplify50.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
04873981
14873981

prune205.0ms

Filtered
60 candidates to 71 candidates (-18.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New70171
Fresh066
Picked011
Done000
Total70878

Merged error: 5.9b

Counts
78 → 8

localize31.0ms

Local error

Found 4 expressions with local error:

1.7b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.9b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.9b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

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

series60.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050341039

prune194.0ms

Filtered
62 candidates to 74 candidates (-19.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New73174
Fresh066
Picked011
Done011
Total73982

Merged error: 5.9b

Counts
82 → 9

regimes302.0ms

Accuracy

84.8% (2.1b remaining)

Error of 7.8b against oracle of 5.7b and baseline of 19.6b

bsearch61.0ms

Steps
ItersRangePoint
9
2.4869401527017716e-36
1.6972718612280455e-29
1.669301981767778e-29
8
-5.446691712832163e+139
-7.507788368454394e+136
-3.1989072191100113e+139

simplify17.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
0784129
1784129

end0.0ms

sample973.0ms

Algorithm
intervals
Results
692.0ms8000×body80valid
54.0ms655×body80nan
35.0ms422×body80invalid

Profiling

Loading profile data...