Details

Time bar (total: 28.4s)

sample1.0s

Algorithm
intervals
Results
651.0ms82×body1280valid
220.0ms57×body2560valid
78.0ms59×body640valid
18.0ms38×body320valid
4.0ms12×body160valid
2.0msbody80valid

simplify94.0ms

Counts
1 → 1
Iterations
IterNodes
done19
319
217
113
06

prune17.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.4b

localize32.0ms

Local error

Found 3 expressions with local error:

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

rewrite78.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:
41.0ms
(/ (- x (sin x)) (- x (tan x)))
13.0ms
(- x (sin x))
15.0ms
(- x (tan x))

series332.0ms

Counts
3 → 9
Calls
3 calls:
125.0ms
(/ (- x (sin x)) (- x (tan x)))
63.0ms
(- x (sin x))
144.0ms
(- x (tan x))

simplify2.8s

Counts
119 → 119
Iterations
IterNodes
done5000
34845
21280
1501
0209

prune507.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize43.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
1.0b
(- x (tan x))
1.0b
(- x (tan x))
1.0b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

rewrite284.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:
27.0ms
(/ (sin x) (- x (tan x)))
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))
175.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

series488.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(/ (sin x) (- x (tan x)))
79.0ms
(- x (tan x))
70.0ms
(- x (tan x))
264.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

simplify2.4s

Counts
600 → 600
Iterations
IterNodes
done5000
23394
11403
0617

prune2.7s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite61.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 (* (* x x) (* x x)) -27/2800 -1/2)
53.0ms
(* (* x x) (* x x))
1.0ms
(fma (* x x) 9/40 (fma (* (* x x) (* x x)) -27/2800 -1/2))

series298.0ms

Counts
3 → 9
Calls
3 calls:
159.0ms
(fma (* (* x x) (* x x)) -27/2800 -1/2)
63.0ms
(* (* x x) (* x x))
76.0ms
(fma (* x x) 9/40 (fma (* (* x x) (* x x)) -27/2800 -1/2))

simplify3.1s

Counts
94 → 94
Iterations
IterNodes
done5004
33397
2630
1200
078

prune240.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes108.0ms

Accuracy

100% (0.0b remaining)

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

bsearch145.0ms

Steps
ItersRangePoint
11
3.4817375791661903e-26
573579.0075499975
0.0289731118094174
10
-84463.33967257517
-3.2432757514909933e-09
-0.029114572981685117

simplify5.0ms

Iterations
IterNodes
done22
022

end0.0ms

sample13.6s

Algorithm
intervals
Results
6.8s1654×body2560valid
3.7s2751×body1280valid
1.7s1866×body640valid
615.0ms459×body160valid
391.0ms925×body320valid
101.0ms345×body80valid