Details

Time bar (total: 3.7s)

sample94.0ms

Algorithm
intervals
Results
60.0ms276×body5120exit
7.0ms196×body80valid
3.0ms29×body320valid
2.0ms14×body640valid
1.0ms21×body160valid

simplify64.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
0474012
1474012

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

Counts
2 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (exp wj))
0.0b
(/ (- (/ x (exp wj)) wj) (+ wj 1))
6.1b
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
48×add-sqr-sqrt
38×times-frac
23×add-cube-cbrt
10×difference-of-squares
associate-/l*
distribute-lft-out
associate-/r* add-cbrt-cube
add-exp-log
distribute-lft-out-- add-log-exp
pow1
cbrt-undiv frac-2neg flip3-+ div-sub div-exp clear-num associate-/r/ flip-+ div-inv associate-/l/
+-commutative associate-+r- flip3-- sum-log flip--
Counts
3 → 91
Calls
3 calls:
4.0ms
(/ x (exp wj))
11.0ms
(/ (- (/ x (exp wj)) wj) (+ wj 1))
16.0ms
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))

series29.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(/ x (exp wj))
10.0ms
(/ (- (/ x (exp wj)) wj) (+ wj 1))
12.0ms
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))

simplify48.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
052201346

prune126.0ms

Filtered
73 candidates to 100 candidates (-37.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New955100
Fresh101
Picked101
Done000
Total975102

Merged error: 0.2b

Counts
102 → 5

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* wj (- wj (* x 2)))
0.0b
(+ x (* wj (- wj (* x 2))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log distribute-rgt-in add-cube-cbrt sub-neg associate-+r+ *-un-lft-identity distribute-lft-in add-cbrt-cube add-log-exp
associate-*r* associate-*l*
associate-*r/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ unswap-sqr
Counts
2 → 39
Calls
2 calls:
5.0ms
(* wj (- wj (* x 2)))
5.0ms
(+ x (* wj (- wj (* x 2))))

series12.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(* wj (- wj (* x 2)))
6.0ms
(+ x (* wj (- wj (* x 2))))

simplify25.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05261431

prune64.0ms

Filtered
31 candidates to 45 candidates (-45.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New43245
Fresh044
Picked011
Done000
Total43750

Merged error: 0.2b

Counts
50 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt wj) (cbrt wj))
0.6b
(cbrt wj)
0.6b
(cbrt wj)
0.6b
(cbrt wj)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
5.0ms
(* (cbrt wj) (cbrt wj))
1.0ms
(cbrt wj)
1.0ms
(cbrt wj)
1.0ms
(cbrt wj)

series88.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (cbrt wj) (cbrt wj))
21.0ms
(cbrt wj)
22.0ms
(cbrt wj)
21.0ms
(cbrt wj)

simplify71.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
05837334

prune83.0ms

Filtered
52 candidates to 85 candidates (-63.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New84185
Fresh145
Picked011
Done011
Total85792

Merged error: 0.2b

Counts
92 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt wj)
0.6b
(cbrt wj)
0.6b
(cbrt wj)
16.8b
(log (exp (cbrt wj)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
log-pow
exp-prod
pow1
add-exp-log add-cbrt-cube add-log-exp
log-prod pow1/3
rem-log-exp
Counts
4 → 51
Calls
4 calls:
1.0ms
(cbrt wj)
1.0ms
(cbrt wj)
1.0ms
(cbrt wj)
3.0ms
(log (exp (cbrt wj)))

series84.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(cbrt wj)
21.0ms
(cbrt wj)
22.0ms
(cbrt wj)
21.0ms
(log (exp (cbrt wj)))

simplify37.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
04957227
14957227

prune58.0ms

Filtered
44 candidates to 63 candidates (-43.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New61263
Fresh044
Picked101
Done022
Total62870

Merged error: 0.2b

Counts
70 → 8

regimes112.0ms

Accuracy

63.2% (0.7b remaining)

Error of 1.0b against oracle of 0.3b and baseline of 2.2b

bsearch18.0ms

Steps
ItersRangePoint
9
6.297138620167189e-13
0.0009073523377833194
5.398240339791983e-09

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02529
12529

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.7s7729×body5120exit
225.0ms6255×body80valid
91.0ms813×body320valid
82.0ms448×body640valid
41.0ms561×body160valid

Profiling

Loading profile data...