Details

Time bar (total: 9.7s)

sample310.0ms

Algorithm
intervals
Results
246.0ms111×body2560valid
36.0ms74×body1280valid
8.0ms42×body640valid
4.0ms256×pre80true
2.0ms18×body320valid
1.0ms11×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
1114
2114

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 59.9b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (tan x))
3.1b
(- (/ 1.0 x) (/ 1.0 (tan x)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
20×*-un-lft-identity
19×times-frac
12×add-cube-cbrt
distribute-lft-out--
add-exp-log add-cbrt-cube add-log-exp difference-of-squares
associate-/r* div-inv associate-/l*
pow1
tan-quot cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num associate-/r/ frac-sub flip--
Counts
2 → 50
Calls
2 calls:
8.0ms
(/ 1.0 (tan x))
12.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

series107.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(/ 1.0 (tan x))
74.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

simplify85.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0227342
1635327
22856326
35001326

prune162.0ms

Filtered
56 candidates to 46 candidates (82.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New53356
Fresh000
Picked101
Done000
Total54357

Merged error: 1.3b

Counts
57 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (pow x 2) (- 0.5 (* x 0.03333333333333333))) (* 0.3333333333333333 x))
0.0b
(* (pow x 2) (- 0.5 (* x 0.03333333333333333)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*l*
add-exp-log
add-cube-cbrt *-un-lft-identity
distribute-rgt-in sub-neg unpow-prod-down associate-+l+ distribute-lft-in add-cbrt-cube add-log-exp unswap-sqr
associate-*r* prod-exp
pow1 associate-*r/ unpow2 sqr-pow
+-commutative pow-to-exp flip3-- flip3-+ pow-exp sum-log *-commutative flip-- cbrt-unprod flip-+
Counts
2 → 48
Calls
2 calls:
6.0ms
(+ (* (pow x 2) (- 0.5 (* x 0.03333333333333333))) (* 0.3333333333333333 x))
6.0ms
(* (pow x 2) (- 0.5 (* x 0.03333333333333333)))

series109.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(+ (* (pow x 2) (- 0.5 (* x 0.03333333333333333))) (* 0.3333333333333333 x))
72.0ms
(* (pow x 2) (- 0.5 (* x 0.03333333333333333)))

simplify40.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0245376
1998331
25002325

prune147.0ms

Filtered
54 candidates to 35 candidates (64.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New49554
Fresh022
Picked101
Done000
Total50757

Merged error: 1.0b

Counts
57 → 7

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (log (exp (* (pow x 2) (- 0.5 (* x 0.03333333333333333))))) (* 0.3333333333333333 x))
0.0b
(* (pow x 2) (- 0.5 (* x 0.03333333333333333)))
3.0b
(log (exp (* (pow x 2) (- 0.5 (* x 0.03333333333333333)))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt log-prod
add-exp-log add-cube-cbrt *-un-lft-identity associate-*l* exp-sum
associate-+l+
distribute-rgt-in sub-neg distribute-lft-in
add-cbrt-cube add-log-exp
pow1 unpow-prod-down unswap-sqr
associate-*r* prod-exp log-pow
associate-*r/ unpow2 sqr-pow
+-commutative pow-to-exp exp-prod flip3-- exp-to-pow flip3-+ rem-log-exp pow-exp sum-log *-commutative flip-- cbrt-unprod flip-+
Counts
3 → 69
Calls
3 calls:
5.0ms
(+ (log (exp (* (pow x 2) (- 0.5 (* x 0.03333333333333333))))) (* 0.3333333333333333 x))
7.0ms
(* (pow x 2) (- 0.5 (* x 0.03333333333333333)))
3.0ms
(log (exp (* (pow x 2) (- 0.5 (* x 0.03333333333333333)))))

series185.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(+ (log (exp (* (pow x 2) (- 0.5 (* x 0.03333333333333333))))) (* 0.3333333333333333 x))
75.0ms
(* (pow x 2) (- 0.5 (* x 0.03333333333333333)))
77.0ms
(log (exp (* (pow x 2) (- 0.5 (* x 0.03333333333333333)))))

simplify43.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0280559
11053479
25002473

prune217.0ms

Filtered
78 candidates to 50 candidates (64.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New75378
Fresh246
Picked101
Done000
Total78785

Merged error: 0.8b

Counts
85 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (pow x 2) (- 0.5 (* x 0.03333333333333333)))
0.0b
(* (pow x 2) (- 0.5 (* x 0.03333333333333333)))
2.8b
(log (sqrt (exp (* (pow x 2) (- 0.5 (* x 0.03333333333333333))))))
2.8b
(log (sqrt (exp (* (pow x 2) (- 0.5 (* x 0.03333333333333333))))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
20×log-prod
16×add-exp-log associate-*l*
14×add-cube-cbrt *-un-lft-identity sqrt-prod
10×log-pow
pow1 distribute-rgt-in sub-neg unpow-prod-down distribute-lft-in exp-sum add-cbrt-cube unswap-sqr
sqrt-pow1 associate-*r* prod-exp add-log-exp
associate-*r/ unpow2 sqr-pow
pow-to-exp exp-prod flip3-- exp-to-pow pow1/2 rem-log-exp pow-exp *-commutative flip-- cbrt-unprod
Counts
4 → 112
Calls
4 calls:
7.0ms
(* (pow x 2) (- 0.5 (* x 0.03333333333333333)))
7.0ms
(* (pow x 2) (- 0.5 (* x 0.03333333333333333)))
3.0ms
(log (sqrt (exp (* (pow x 2) (- 0.5 (* x 0.03333333333333333))))))
4.0ms
(log (sqrt (exp (* (pow x 2) (- 0.5 (* x 0.03333333333333333))))))

series342.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(* (pow x 2) (- 0.5 (* x 0.03333333333333333)))
74.0ms
(* (pow x 2) (- 0.5 (* x 0.03333333333333333)))
94.0ms
(log (sqrt (exp (* (pow x 2) (- 0.5 (* x 0.03333333333333333))))))
100.0ms
(log (sqrt (exp (* (pow x 2) (- 0.5 (* x 0.03333333333333333))))))

simplify43.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
02611042
1976934
25002926

prune430.0ms

Filtered
124 candidates to 80 candidates (64.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1231124
Fresh066
Picked101
Done000
Total1247131

Merged error: 0.8b

Counts
131 → 7

regimes56.0ms

Accuracy

0% (0.4b remaining)

Error of 1.1b against oracle of 0.7b and baseline of 1.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02628
12628

end0.0ms

sample7.3s

Algorithm
intervals
Results
5.4s3235×body2560valid
1.3s2520×body1280valid
212.0ms1204×body640valid
113.0ms8000×pre80true
74.0ms660×body320valid
26.0ms338×body160valid
2.0ms43×body80valid

Profiling

Loading profile data...