Details

Time bar (total: 3.8s)

analyze466.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
25%74.9%0.1%5
25%74.9%0.1%6
25%68.6%6.4%7
31.2%62.4%6.4%8
36.7%54.6%8.7%9
38.2%48.4%13.4%10
42.7%42.3%15%11
47.8%34.1%18.1%12
49.1%30.3%20.5%13
51.9%25.8%22.3%14

sample47.0ms

Algorithm
intervals
Results
12.0ms39×body2560valid
9.0ms157×body80valid
7.0ms27×body1280valid
3.0ms17×body640valid
1.0msbody5120valid
1.0ms23×body80nan
1.0msbody320valid
1.0ms14×body80invalid
1.0msbody160valid

simplify177.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (176.0ms)

IterNodesCost
0178416
1178416

prune8.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: 36.2b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.4b
(- (* b b) (* (* 3.0 a) c))
1.2b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.3b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite29.0ms

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

series66.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
15.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
058991226

prune165.0ms

Filtered
64 candidates to 81 candidates (-26.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New701181
Fresh000
Picked101
Done000
Total711182

Merged error: 7.4b

Counts
82 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
3.4b
(/ (/ (* 3.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))
13.7b
(/ (* 3.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))))
24.3b
(sqrt (- (* b b) (* 3.0 (* a c))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log add-cbrt-cube
34×times-frac
32×add-sqr-sqrt
31×*-un-lft-identity
17×cbrt-undiv div-exp
14×associate-/l*
13×prod-exp cbrt-unprod
11×add-cube-cbrt
10×distribute-lft-out-- difference-of-squares
associate-/r* sqrt-prod add-log-exp
associate-/r/
pow1 flip3-- distribute-rgt-neg-in flip--
div-inv
frac-2neg sqrt-div diff-log clear-num
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 neg-log associate-/l/
Counts
4 → 119
Calls
4 calls:
10.0ms
(- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
16.0ms
(/ (/ (* 3.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))
13.0ms
(/ (* 3.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))))
4.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

series127.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
45.0ms
(/ (/ (* 3.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))
54.0ms
(/ (* 3.0 (* a c)) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))))
14.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

simplify69.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049732553
149732553

prune190.0ms

Filtered
84 candidates to 131 candidates (-56.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1283131
Fresh2810
Picked101
Done000
Total13111142

Merged error: 7.3b

Counts
142 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 3.0 (* a c))
0.4b
(- (* b b) (* 3.0 (* a c)))
1.0b
(- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
24.3b
(sqrt (- (* b b) (* 3.0 (* a c))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×pow1 *-un-lft-identity add-log-exp
add-exp-log add-cbrt-cube
add-cube-cbrt
sqrt-prod
flip3-- diff-log associate-*l* pow-prod-down prod-exp flip-- cbrt-unprod
sub-neg sqrt-div distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 associate-*r* neg-log *-commutative
Counts
4 → 61
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
4.0ms
(- (* b b) (* 3.0 (* a c)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

series42.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 3.0 (* a c))
8.0ms
(- (* b b) (* 3.0 (* a c)))
15.0ms
(- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
15.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04956873
14956873

prune128.0ms

Filtered
51 candidates to 73 candidates (-43.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh3710
Picked101
Done000
Total731184

Merged error: 7.0b

Counts
84 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(* c (cbrt 3.0))
0.4b
(- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* a (* c (cbrt 3.0)))))
1.0b
(- (neg b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* a (* c (cbrt 3.0)))))))
24.3b
(sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* a (* c (cbrt 3.0))))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
12×*-un-lft-identity
10×add-log-exp
add-cube-cbrt
pow1
add-exp-log associate-*r*
add-cbrt-cube
cbrt-prod sqrt-prod
flip3-- diff-log associate-*l* flip--
sub-neg sqrt-div distribute-lft-out-- difference-of-squares unswap-sqr
associate--l- neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 pow-prod-down neg-log prod-exp *-commutative cbrt-unprod
Counts
4 → 65
Calls
4 calls:
5.0ms
(* c (cbrt 3.0))
4.0ms
(- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* a (* c (cbrt 3.0)))))
9.0ms
(- (neg b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* a (* c (cbrt 3.0)))))))
4.0ms
(sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* a (* c (cbrt 3.0))))))

series57.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* c (cbrt 3.0))
12.0ms
(- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* a (* c (cbrt 3.0)))))
20.0ms
(- (neg b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* a (* c (cbrt 3.0)))))))
19.0ms
(sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* a (* c (cbrt 3.0))))))

simplify51.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
04891889
14891889

prune121.0ms

Filtered
59 candidates to 77 candidates (-30.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New77077
Fresh01010
Picked011
Done000
Total771188

Merged error: 7.0b

Counts
88 → 11

regimes358.0ms

Accuracy

94.7% (1.3b remaining)

Error of 6.6b against oracle of 5.3b and baseline of 29.5b

bsearch86.0ms

Steps
ItersRangePoint
7
1.5076119834637862e+100
3.066974460136245e+102
1.100584786088886e+102
7
-5.415287738518792e-236
-7.260025944858288e-238
-2.3344782568300924e-237
9
-1.1147125825604471e+110
-2.6689805155627756e+100
-6.845054683259517e+108

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
023489
123489

end0.0ms

sample1.4s

Algorithm
intervals
Results
348.0ms1058×body2560valid
291.0ms5038×body80valid
263.0ms963×body1280valid
99.0ms463×body640valid
56.0ms137×body5120valid
35.0ms647×body80nan
34.0ms213×body320valid
23.0ms373×body80invalid
13.0ms128×body160valid

Profiling

Loading profile data...