Details

Time bar (total: 4.8s)

sample54.0ms

Algorithm
intervals
Results
9.0ms196×body80valid
8.0ms33×body2560valid
6.0ms14×body640valid
6.0ms24×body1280valid
4.0ms87×body80nan
1.0msbody320valid
0.0msbody160valid
0.0msbody5120valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.3b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 3.0 a) c))
0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
1.4b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite25.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 → 70
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
10.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series64.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0391774
11518684
25001674

prune385.0ms

Filtered
82 candidates to 63 candidates (23.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New73982
Fresh000
Picked101
Done000
Total74983

Merged error: 6.4b

Counts
83 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.2b
(- (* b b) (* (* 3.0 a) c))
1.4b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite23.0ms

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

series41.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0302468
11299428
25002417

prune516.0ms

Filtered
72 candidates to 52 candidates (27.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh088
Picked011
Done000
Total701181

Merged error: 6.4b

Counts
81 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* 3.0 (* a c)))
0.3b
(* 3.0 (* a c))
1.4b
(+ (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
23.0b
(sqrt (- (* b b) (* 3.0 (* a c))))

rewrite22.0ms

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

series40.0ms

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

simplify125.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0292467
11079427
24710416
35003415

prune405.0ms

Filtered
72 candidates to 49 candidates (31.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh189
Picked011
Done101
Total731083

Merged error: 6.4b

Counts
83 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))
0.3b
(* (cbrt 3.0) (* a c))
1.4b
(+ (neg b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c))))))
23.0b
(sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
31×pow1
30×add-exp-log
18×pow-prod-down prod-exp add-cbrt-cube cbrt-unprod
11×*-un-lft-identity
add-sqr-sqrt add-log-exp
add-cube-cbrt associate-*l*
cbrt-prod sqrt-prod
sqrt-div associate-*r* sum-log *-commutative distribute-lft-out
+-commutative neg-sub0 associate-+l- rem-sqrt-square flip3-- distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 neg-log flip-- flip-+
Counts
4 → 79
Calls
4 calls:
13.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))
5.0ms
(* (cbrt 3.0) (* a c))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c))))))
3.0ms
(sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))))

series51.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))
5.0ms
(* (cbrt 3.0) (* a c))
19.0ms
(+ (neg b) (sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c))))))
19.0ms
(sqrt (- (* b b) (* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* a c)))))

simplify48.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0378856
11496724
25002687

prune586.0ms

Filtered
91 candidates to 54 candidates (40.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh088
Picked011
Done011
Total9110101

Merged error: 6.4b

Counts
101 → 10

regimes612.0ms

Accuracy

84.7% (4.4b remaining)

Error of 10.1b against oracle of 5.7b and baseline of 34.5b

bsearch144.0ms

Steps
ItersRangePoint
8
1.0400422964760881e-57
2.908776702533752e-54
1.0543332133493337e-57
10
-1.5262535002821125e+142
-1.5364234610613206e+132
-4.875636747733007e+140

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

sample1.4s

Algorithm
intervals
Results
275.0ms1054×body2560valid
264.0ms5861×body80valid
193.0ms912×body1280valid
130.0ms2906×body80nan
80.0ms467×body640valid
36.0ms112×body5120valid
29.0ms227×body320valid
9.0ms105×body160valid

Profiling

Loading profile data...