Details

Time bar (total: 32.2s)

sample638.0ms

Algorithm
intervals
Results
270.0ms59×body2560valid
125.0ms91×body1280valid
46.0ms58×body640valid
11.0ms21×body320valid
5.0ms12×body160valid
3.0ms15×body80valid

simplify20.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
06276
113276
217276
319276
done19276

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.6b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
25×times-frac
18×prod-diff
14×distribute-lft-out-- difference-of-squares
add-log-exp
fma-neg
associate-/r* add-cbrt-cube add-exp-log associate-/l*
flip3-- flip--
expm1-log1p-u pow1 log1p-expm1-u
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv clear-num frac-2neg div-sub div-exp div-inv
Counts
3 → 110
Calls
3 calls:
29.0ms
(/ (- x (sin x)) (- x (tan x)))
5.0ms
(- x (tan x))
8.0ms
(- x (sin x))

series232.0ms

Counts
3 → 9
Calls
3 calls:
97.0ms
(/ (- x (sin x)) (- x (tan x)))
78.0ms
(- x (tan x))
57.0ms
(- x (sin x))

simplify3.5s

Counts
119 → 119
Iterations

Useful iterations: done (3.5s)

IterNodesCost
020949985
150144919
2127741275
3470840985
done500040935

prune649.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma -27/2800 (* (* x x) (* x x)) -1/2)
0.1b
(* (* x x) (* x x))
18.1b
(fma 9/40 (* x x) (fma -27/2800 (* (* x x) (* x x)) -1/2))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
114×pow1
36×pow-prod-up
23×pow-prod-down
22×pow-sqr
18×pow-plus
15×add-cbrt-cube add-exp-log
13×pow2
prod-exp cbrt-unprod
add-sqr-sqrt expm1-log1p-u *-un-lft-identity add-cube-cbrt log1p-expm1-u add-log-exp
fma-udef
swap-sqr associate-*r* associate-*l* *-commutative unswap-sqr
Counts
3 → 85
Calls
3 calls:
0.0ms
(fma -27/2800 (* (* x x) (* x x)) -1/2)
44.0ms
(* (* x x) (* x x))
1.0ms
(fma 9/40 (* x x) (fma -27/2800 (* (* x x) (* x x)) -1/2))

series259.0ms

Counts
3 → 9
Calls
3 calls:
123.0ms
(fma -27/2800 (* (* x x) (* x x)) -1/2)
66.0ms
(* (* x x) (* x x))
69.0ms
(fma 9/40 (* x x) (fma -27/2800 (* (* x x) (* x x)) -1/2))

simplify4.0s

Counts
94 → 94
Iterations

Useful iterations: 2 (244.0ms)

IterNodesCost
07814113
12009431
26169041
333479041
done50039041

prune231.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
1.6b
(- x (sin x))
1.8b
(/ (- x (sin x)) (+ (- (* (* (cbrt x) (cbrt x)) (cbrt x)) (tan x)) (* (tan x) 0)))
18.4b
(- (* (* (cbrt x) (cbrt x)) (cbrt x)) (tan x))

rewrite287.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt *-un-lft-identity
23×add-cube-cbrt
15×times-frac
12×prod-diff
add-log-exp
add-cbrt-cube add-exp-log
associate-/l* distribute-lft-out-- difference-of-squares
expm1-log1p-u pow1 flip3-- fma-neg associate-/r/ log1p-expm1-u flip--
cbrt-prod associate-/r*
sub-neg diff-log associate-*l/ frac-add tan-quot associate-/l/
cbrt-undiv clear-num frac-2neg flip3-+ pow1/3 div-sub div-exp flip-+ div-inv
Counts
4 → 103
Calls
4 calls:
1.0ms
(cbrt x)
12.0ms
(- x (sin x))
236.0ms
(/ (- x (sin x)) (+ (- (* (* (cbrt x) (cbrt x)) (cbrt x)) (tan x)) (* (tan x) 0)))
31.0ms
(- (* (* (cbrt x) (cbrt x)) (cbrt x)) (tan x))

series564.0ms

Counts
4 → 12
Calls
4 calls:
265.0ms
(cbrt x)
37.0ms
(- x (sin x))
131.0ms
(/ (- x (sin x)) (+ (- (* (* (cbrt x) (cbrt x)) (cbrt x)) (tan x)) (* (tan x) 0)))
131.0ms
(- (* (* (cbrt x) (cbrt x)) (cbrt x)) (tan x))

simplify3.8s

Counts
115 → 115
Iterations

Useful iterations: done (3.8s)

IterNodesCost
023858879
159251535
2151634879
3483533613
done500033588

prune512.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 9/40 (* (* x x) 27/2800))
0.0b
(fma (* x x) (- 9/40 (* (* x x) 27/2800)) -1/2)
0.2b
(* (* x x) 27/2800)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-cbrt-cube add-exp-log
add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
add-log-exp
expm1-log1p-u fma-neg associate-*r* prod-diff pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
sub-neg flip3-- diff-log associate-*l* *-commutative fma-udef flip-- unswap-sqr
Counts
3 → 51
Calls
3 calls:
9.0ms
(- 9/40 (* (* x x) 27/2800))
0.0ms
(fma (* x x) (- 9/40 (* (* x x) 27/2800)) -1/2)
28.0ms
(* (* x x) 27/2800)

series225.0ms

Counts
3 → 9
Calls
3 calls:
96.0ms
(- 9/40 (* (* x x) 27/2800))
79.0ms
(fma (* x x) (- 9/40 (* (* x x) 27/2800)) -1/2)
50.0ms
(* (* x x) 27/2800)

simplify3.7s

Counts
60 → 60
Iterations

Useful iterations: done (3.7s)

IterNodesCost
09313954
123310782
279610215
326739202
done50038892

prune263.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes87.0ms

Accuracy

99.2% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 32.2b

bsearch162.0ms

Steps
ItersRangePoint
9
0.1909160003853501
166131308.15705827
2.424239464461981
10
-27652538170.40468
-0.18371106458419734
-2.447149999215354

simplify17.0ms

Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0281032
1361032
done361032

end0.0ms

sample12.9s

Algorithm
intervals
Results
5.8s1567×body2560valid
3.4s2839×body1280valid
2.2s1839×body640valid
902.0ms930×body320valid
206.0ms470×body160valid
149.0ms355×body80valid