Details

Time bar (total: 26.9s)

sample482.0ms

Algorithm
intervals
Results
147.0ms42×body2560valid
102.0ms86×body1280valid
44.0ms68×body640valid
15.0ms33×body320valid
5.0ms18×body160valid
1.0msbody80valid

simplify36.0ms

Counts
1 → 1
Iterations
IterNodes
done19
319
217
113
06

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.2b

localize25.0ms

Local error

Found 3 expressions with local error:

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

rewrite65.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:
30.0ms
(/ (- x (sin x)) (- x (tan x)))
5.0ms
(- x (tan x))
8.0ms
(- x (sin x))

series256.0ms

Counts
3 → 9
Calls
3 calls:
132.0ms
(/ (- x (sin x)) (- x (tan x)))
79.0ms
(- x (tan x))
45.0ms
(- x (sin x))

simplify2.7s

Counts
119 → 119
Iterations
IterNodes
done5000
34708
21277
1501
0209

prune530.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize69.0ms

Local error

Found 4 expressions with local error:

0.8b
(- x (tan x))
0.8b
(- x (sin x))
0.8b
(- x (sin x))
0.8b
(- x (sin x))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt *-un-lft-identity
36×prod-diff
32×add-cube-cbrt
12×fma-neg add-log-exp
expm1-log1p-u pow1 sub-neg flip3-- add-cbrt-cube diff-log add-exp-log log1p-expm1-u flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 112
Calls
4 calls:
5.0ms
(- x (tan x))
9.0ms
(- x (sin x))
6.0ms
(- x (sin x))
8.0ms
(- x (sin x))

series209.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(- x (tan x))
39.0ms
(- x (sin x))
56.0ms
(- x (sin x))
51.0ms
(- x (sin x))

simplify3.1s

Counts
124 → 124
Iterations
IterNodes
done5000
44582
31650
2622
1277
0127

prune470.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize23.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.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:
19.0ms
(/ (- x (tan x)) (- x (sin x)))
5.0ms
(- x (tan x))
9.0ms
(- x (sin x))

series209.0ms

Counts
3 → 9
Calls
3 calls:
109.0ms
(/ (- x (tan x)) (- x (sin x)))
64.0ms
(- x (tan x))
36.0ms
(- x (sin x))

simplify2.5s

Counts
119 → 119
Iterations
IterNodes
done5000
34526
21255
1495
0207

prune447.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite52.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:
44.0ms
(* (* x x) (* x x))
0.0ms
(fma -27/2800 (* (* x x) (* x x)) -1/2)
0.0ms
(fma 9/40 (* x x) (fma -27/2800 (* (* x x) (* x x)) -1/2))

series247.0ms

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

simplify2.1s

Counts
94 → 94
Iterations
IterNodes
done5000
32180
2489
1182
078

prune241.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes97.0ms

Accuracy

100% (0.0b remaining)

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

bsearch163.0ms

Steps
ItersRangePoint
11
1.9534460235190362e-22
53640.016154094046
0.02985439976441334
10
-17239113253358.373
-4.96108325192681e-05
-0.026748202540908116

simplify4.0ms

Iterations
IterNodes
done28
128
025

end0.0ms

sample12.7s

Algorithm
intervals
Results
5.6s1666×body2560valid
4.3s2699×body1280valid
1.7s1879×body640valid
593.0ms944×body320valid
183.0ms474×body160valid
50.0ms338×body80valid