Details

Time bar (total: 5.0s)

analyze587.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
12.5%87.4%0.1%5
18.7%81.1%0.1%6
18.7%76.5%4.8%7
28.1%66.3%5.6%8
35.1%55%9.9%9
36.3%50.9%12.8%10
42.1%42.4%15.5%11
47.5%33.8%18.7%12
48.8%30.7%20.6%13
51.8%25.6%22.5%14

sample41.0ms

Algorithm
intervals
Results
8.0ms164×body80valid
7.0ms29×body2560valid
7.0ms32×body1280valid
3.0ms17×body640valid
1.0msbody5120valid
1.0ms23×body80nan
1.0msbody320valid
0.0msbody80invalid
0.0msbody160valid

simplify434.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01613
11613

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.1b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.6b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
0.6b
(- (* b_2 b_2) (* a c))
23.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
21×times-frac
17×add-cube-cbrt
10×distribute-lft-out-- add-log-exp difference-of-squares
sqrt-prod
associate-/l*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- flip--
diff-log associate-/r*
sub-neg sqrt-div associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log clear-num div-inv
Counts
4 → 89
Calls
4 calls:
11.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
8.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(- (* b_2 b_2) (* a c))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series66.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
21.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(- (* b_2 b_2) (* a c))
21.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
050821589

prune138.0ms

Filtered
72 candidates to 101 candidates (-40.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New929101
Fresh000
Picked101
Done000
Total939102

Merged error: 7.0b

Counts
102 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
3.0b
(/ (/ (* a c) (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))) a)
12.1b
(/ (* a c) (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))
23.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
58×times-frac
55×*-un-lft-identity
28×add-sqr-sqrt
27×add-cube-cbrt
18×add-exp-log add-cbrt-cube
14×distribute-lft-out
12×associate-/l*
10×associate-/r/
associate-/r* add-log-exp
cbrt-undiv distribute-rgt-neg-in div-exp
flip3-+ flip-+ div-inv
pow1
sqrt-prod
frac-2neg sqrt-div prod-exp clear-num sum-log cbrt-unprod
+-commutative neg-sub0 associate-+r- rem-sqrt-square flip3-- sqrt-pow1 pow1/2 unsub-neg neg-log flip-- associate-/l/
Counts
4 → 122
Calls
4 calls:
8.0ms
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
14.0ms
(/ (/ (* a c) (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))) a)
13.0ms
(/ (* a c) (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series122.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
40.0ms
(/ (/ (* a c) (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))) a)
56.0ms
(/ (* a c) (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify65.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049862465
149862465

prune138.0ms

Filtered
100 candidates to 134 candidates (-34.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1304134
Fresh358
Picked101
Done000
Total1349143

Merged error: 6.9b

Counts
143 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ c (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))
0.6b
(- (* b_2 b_2) (* a c))
0.9b
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
23.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
16×add-sqr-sqrt
15×add-cube-cbrt times-frac
10×distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in associate-/r*
sqrt-prod associate-/l*
flip3-- flip3-+ sqrt-div sum-log associate-/r/ flip-- flip-+
cbrt-undiv +-commutative neg-sub0 associate-+r- sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-exp unsub-neg neg-log clear-num div-inv
Counts
4 → 79
Calls
4 calls:
11.0ms
(/ c (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))
3.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series82.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ c (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))
7.0ms
(- (* b_2 b_2) (* a c))
14.0ms
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
15.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
051141196

prune107.0ms

Filtered
68 candidates to 91 candidates (-33.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New89291
Fresh178
Picked011
Done000
Total9010100

Merged error: 6.9b

Counts
100 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (/ a (* (cbrt a) (cbrt a))) (/ c (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))))
0.9b
(/ (* (/ a (* (cbrt a) (cbrt a))) (/ c (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))) (cbrt a))
0.9b
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
23.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
54×add-exp-log
39×add-cbrt-cube
36×*-un-lft-identity
31×add-sqr-sqrt
28×times-frac
21×cbrt-undiv div-exp associate-*r*
20×add-cube-cbrt
16×prod-exp cbrt-unprod
distribute-lft-out add-log-exp
pow1 associate-*l*
cbrt-prod associate-/r*
distribute-rgt-neg-in unswap-sqr
sqrt-prod div-inv associate-/l/
frac-times flip3-+ sqrt-div associate-*r/ associate-*l/ sum-log associate-/r/ flip-+
+-commutative neg-sub0 associate-+r- rem-sqrt-square flip3-- frac-2neg sqrt-pow1 pow1/2 unsub-neg pow-prod-down neg-log clear-num *-commutative flip-- associate-/l*
Counts
4 → 127
Calls
4 calls:
20.0ms
(* (/ a (* (cbrt a) (cbrt a))) (/ c (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))))
19.0ms
(/ (* (/ a (* (cbrt a) (cbrt a))) (/ c (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))) (cbrt a))
8.0ms
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series221.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(* (/ a (* (cbrt a) (cbrt a))) (/ c (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))))
47.0ms
(/ (* (/ a (* (cbrt a) (cbrt a))) (/ c (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))) (cbrt a))
16.0ms
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify71.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049862398
149862398

prune117.0ms

Filtered
96 candidates to 139 candidates (-44.8%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1381139
Fresh088
Picked011
Done011
Total13811149

Merged error: 6.9b

Counts
149 → 11

regimes310.0ms

Accuracy

93.3% (1.6b remaining)

Error of 6.9b against oracle of 5.3b and baseline of 28.9b

bsearch700.0ms

Steps
ItersRangePoint
10
6.7241623180276495e+125
2.7444084895603776e+144
1.1464830517773706e+127
10
8.855607528160837e-200
2.8442880663450218e-183
3.1101824716100656e-199
9
-4.5308935369177574e+17
-12218420085.200514
-4.460103823913966e+17

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04458
14458

end0.0ms

analyze392.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
12.5%87.4%0.1%5
18.7%81.1%0.1%6
18.7%76.5%4.8%7
28.1%66.3%5.6%8
35.1%55%9.9%9
36.3%50.9%12.8%10
42.1%42.4%15.5%11
47.5%33.8%18.7%12
48.8%30.7%20.6%13
51.8%25.6%22.5%14

sample1.1s

Algorithm
intervals
Results
267.0ms1077×body2560valid
222.0ms5119×body80valid
181.0ms892×body1280valid
76.0ms456×body640valid
33.0ms106×body5120valid
29.0ms713×body80nan
27.0ms222×body320valid
10.0ms128×body160valid
10.0ms231×body80invalid

Profiling

Loading profile data...