Details

Time bar (total: 27.3s)

sample481.0ms

Algorithm
intervals
Results
161.0ms48×body2560valid
115.0ms92×body1280valid
107.0ms65×body640valid
12.0ms28×body320valid
4.0ms14×body160valid
2.0msbody80valid

simplify24.0ms

Counts
1 → 1
Iterations
IterNodes
done19
319
217
113
06

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.5b

localize27.0ms

Local error

Found 3 expressions with local error:

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

rewrite98.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:
27.0ms
(/ (- x (sin x)) (- x (tan x)))
14.0ms
(- x (tan x))
52.0ms
(- x (sin x))

series283.0ms

Counts
3 → 9
Calls
3 calls:
145.0ms
(/ (- x (sin x)) (- x (tan x)))
85.0ms
(- x (tan x))
53.0ms
(- x (sin x))

simplify1.5s

Counts
119 → 119
Iterations
IterNodes
done5002
22273
1502
0209

prune491.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
1.6b
(- x (sin x))
1.7b
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
29.1b
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
15×times-frac
prod-diff
add-cbrt-cube add-exp-log add-log-exp
associate-/l* distribute-lft-out-- difference-of-squares
expm1-log1p-u pow1 log1p-expm1-u
cbrt-prod associate-/r* fma-neg
flip3-- flip-- associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg pow1/3 diff-log div-sub div-exp fma-udef div-inv
Counts
4 → 91
Calls
4 calls:
1.0ms
(cbrt x)
11.0ms
(- x (sin x))
35.0ms
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
0.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

series1.6s

Counts
4 → 12
Calls
4 calls:
239.0ms
(cbrt x)
56.0ms
(- x (sin x))
801.0ms
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
506.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

simplify1.2s

Counts
103 → 103
Iterations
IterNodes
done5000
21445
1363
0168

prune469.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
1.4b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.6b
(- x (tan x))
1.6b
(- x (tan x))

rewrite217.0ms

Algorithm
rewrite-expression-head
Rules
713×*-un-lft-identity
703×add-sqr-sqrt
678×times-frac
459×prod-diff
417×add-cube-cbrt
147×distribute-lft-out--
141×difference-of-squares
92×associate-/r/
49×flip3-- flip--
46×div-inv
27×fma-neg
10×add-log-exp
add-cbrt-cube add-exp-log
associate-/r*
expm1-log1p-u pow1 log1p-expm1-u
sub-neg distribute-rgt-out-- diff-log associate-/l*
cbrt-undiv clear-num frac-2neg div-exp frac-sub sub-div
Counts
4 → 588
Calls
4 calls:
21.0ms
(/ (sin x) (- x (tan x)))
119.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
5.0ms
(- x (tan x))
5.0ms
(- x (tan x))

series539.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(/ (sin x) (- x (tan x)))
277.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
91.0ms
(- x (tan x))
90.0ms
(- x (tan x))

simplify2.1s

Counts
600 → 600
Iterations
IterNodes
done5000
24814
11405
0617

prune2.4s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.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 associate-*l* prod-diff pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
fma-udef
sub-neg flip3-- fma-neg diff-log associate-*r* *-commutative flip-- associate--r+ unswap-sqr
Counts
3 → 50
Calls
3 calls:
0.0ms
(fma (pow x 4) 27/2800 1/2)
13.0ms
(* 9/40 (* x x))
26.0ms
(- (* 9/40 (* x x)) (fma (pow x 4) 27/2800 1/2))

series285.0ms

Counts
3 → 9
Calls
3 calls:
150.0ms
(fma (pow x 4) 27/2800 1/2)
48.0ms
(* 9/40 (* x x))
86.0ms
(- (* 9/40 (* x x)) (fma (pow x 4) 27/2800 1/2))

simplify1.5s

Counts
59 → 59
Iterations
IterNodes
done5002
21333
1235
091

prune230.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes61.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 31.8b

bsearch138.0ms

Steps
ItersRangePoint
9
7.294142785006675e-07
13.800596953327334
0.030608973476154103
7
-0.10952899301968014
-0.00181011214377754
-0.03200837114588731

simplify5.0ms

Iterations
IterNodes
done26
126
022

end0.0ms

sample13.6s

Algorithm
intervals
Results
6.7s1679×body2560valid
4.3s2685×body1280valid
1.5s1884×body640valid
381.0ms902×body320valid
198.0ms354×body80valid
146.0ms496×body160valid