Details

Time bar (total: 10.5s)

sample446.0ms

Algorithm
intervals
Results
97.0ms46×body2560valid
63.0ms95×body1280valid
22.0ms65×body640valid
8.0ms33×body320valid
1.0msbody160valid
1.0msbody80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.4b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.5b
(- x (sin x))
1.5b
(- x (tan x))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
12.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (sin x))
5.0ms
(- x (tan x))

series173.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(/ (- x (sin x)) (- x (tan x)))
37.0ms
(- x (sin x))
61.0ms
(- x (tan x))

simplify160.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune211.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.2b
(* 9/40 (pow x 2))
16.6b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- sum-log flip-- associate--r+
Counts
3 → 66
Calls
3 calls:
5.0ms
(* 27/2800 (pow x 4))
6.0ms
(* 9/40 (pow x 2))
8.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series110.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* 27/2800 (pow x 4))
28.0ms
(* 9/40 (pow x 2))
46.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify41.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0273349
11123318
25001315

prune149.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (/ (- x (sin x)) (- x (tan x))) 3)
0.0b
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
1.5b
(- x (sin x))
1.5b
(- x (tan x))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
134×add-sqr-sqrt *-un-lft-identity
100×times-frac
68×cbrt-prod
62×unpow-prod-down cube-prod
50×add-cube-cbrt
42×distribute-lft-out-- difference-of-squares
associate-/r/ add-log-exp
add-exp-log add-cbrt-cube
flip3-- flip--
pow1
div-inv
pow-unpow
cube-div cube-mult sub-neg diff-log unpow3 pow-exp rem-cube-cbrt sqr-pow
cbrt-undiv pow-to-exp cbrt-div pow-pow pow1/3 div-exp rem-cbrt-cube
Counts
4 → 188
Calls
4 calls:
13.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
15.0ms
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
3.0ms
(- x (sin x))
3.0ms
(- x (tan x))

series251.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
76.0ms
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
34.0ms
(- x (sin x))
51.0ms
(- x (tan x))

simplify80.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07362195
130512083
250012069

prune313.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (pow (/ (- x (sin x)) (- x (tan x))) (* (cbrt 3) (cbrt 3))) (cbrt 3))
0.0b
(cbrt (pow (pow (/ (- x (sin x)) (- x (tan x))) (* (cbrt 3) (cbrt 3))) (cbrt 3)))
1.5b
(- x (sin x))
1.5b
(- x (tan x))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
132×unpow-prod-down
75×add-sqr-sqrt *-un-lft-identity
50×times-frac
42×cbrt-prod
31×add-cube-cbrt
22×distribute-lft-out-- difference-of-squares
add-exp-log add-log-exp
pow-unpow pow-exp
pow1 flip3-- associate-/r/ add-cbrt-cube flip-- sqr-pow
pow-to-exp sub-neg diff-log div-inv
pow-pow pow1/3 div-exp
Counts
4 → 130
Calls
4 calls:
30.0ms
(pow (pow (/ (- x (sin x)) (- x (tan x))) (* (cbrt 3) (cbrt 3))) (cbrt 3))
29.0ms
(cbrt (pow (pow (/ (- x (sin x)) (- x (tan x))) (* (cbrt 3) (cbrt 3))) (cbrt 3)))
3.0ms
(- x (sin x))
3.0ms
(- x (tan x))

series1.0s

Counts
4 → 12
Calls
4 calls:
396.0ms
(pow (pow (/ (- x (sin x)) (- x (tan x))) (* (cbrt 3) (cbrt 3))) (cbrt 3))
522.0ms
(cbrt (pow (pow (/ (- x (sin x)) (- x (tan x))) (* (cbrt 3) (cbrt 3))) (cbrt 3)))
30.0ms
(- x (sin x))
53.0ms
(- x (tan x))

simplify63.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
07752542
122552480
250022466

prune482.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes69.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 32.0b

bsearch91.0ms

Steps
ItersRangePoint
9
2.0114125408603258e-10
0.4954286465087044
0.024314219703607573
10
-1.7081313977704333
-1.7977825652338532e-10
-1.5623918316578669

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03425
13425

end0.0ms

sample6.6s

Algorithm
intervals
Results
3.6s1630×body2560valid
1.9s2795×body1280valid
626.0ms1823×body640valid
217.0ms905×body320valid
73.0ms474×body160valid
41.0ms373×body80valid