Details

Time bar (total: 4.5s)

analyze580.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

sample42.0ms

Algorithm
intervals
Results
11.0ms39×body2560valid
7.0ms160×body80valid
6.0ms27×body1280valid
3.0ms15×body640valid
1.0msbody5120valid
1.0msbody320valid
1.0ms17×body80nan
0.0msbody160valid
0.0msbody80invalid

simplify459.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: 34.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* b_2 b_2) (* a c))
0.1b
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
1.2b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite30.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:
3.0ms
(- (* b_2 b_2) (* a c))
10.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
8.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series65.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (* b_2 b_2) (* a c))
24.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
14.0ms
(- (neg b_2) (sqrt (- (* 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

prune143.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New9110101
Fresh000
Picked101
Done000
Total9210102

Merged error: 5.1b

Counts
102 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
3.9b
(/ (/ (* a c) (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))) a)
8.7b
(/ (* a c) (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))
22.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite42.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))
13.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)))
4.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)))

simplify68.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049862465
149862465

prune142.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1304134
Fresh549
Picked011
Done000
Total1359144

Merged error: 5.0b

Counts
144 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* b_2 b_2) (* a c))
0.1b
(/ c (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))
0.4b
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
22.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite27.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:
3.0ms
(- (* b_2 b_2) (* a c))
10.0ms
(/ c (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))
8.0ms
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series82.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
051141196

prune103.0ms

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

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New89291
Fresh257
Picked011
Done011
Total919100

Merged error: 4.8b

Counts
100 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* a (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))
0.4b
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
14.3b
(/ (* a c) (* a (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))))
22.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite40.0ms

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

series89.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* a (+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2)))
13.0ms
(+ (sqrt (- (* b_2 b_2) (* a c))) (neg b_2))
43.0ms
(/ (* a c) (* a (+ (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
90 → 90
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
052491067

prune77.0ms

Filtered
68 candidates to 90 candidates (-32.4%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New90090
Fresh066
Picked011
Done022
Total90999

Merged error: 4.8b

Counts
99 → 9

regimes275.0ms

Accuracy

90.8% (2.2b remaining)

Error of 7.7b against oracle of 5.5b and baseline of 29.6b

bsearch444.0ms

Steps
ItersRangePoint
1
6.702224663973177e+24
7.053541985987684e+24
6.965712655484056e+24
9
8.147604587979608e-119
1.9498578354619682e-110
8.282282201376137e-119
7
-1.130439217872028e+121
-2.807608538967146e+119
-1.027656210917247e+121

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04558
14558

end0.0ms

analyze388.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
284.0ms1140×body2560valid
225.0ms5051×body80valid
175.0ms888×body1280valid
74.0ms471×body640valid
31.0ms719×body80nan
27.0ms92×body5120valid
27.0ms231×body320valid
11.0ms256×body80invalid
10.0ms127×body160valid

Profiling

Loading profile data...