Details

Time bar (total: 32.3s)

sample772.0ms

Algorithm
intervals
Results
316.0ms63×body2560valid
258.0ms91×body1280valid
113.0ms54×body640valid
19.0ms18×body320valid
7.0ms15×body160valid
4.0ms15×body80valid

simplify18.0ms

Counts
1 → 1
Iterations
IterNodes
done19
319
217
113
06

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.7b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite59.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 insert-posit16 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 → 113
Calls
3 calls:
18.0ms
(/ (- x (sin x)) (- x (tan x)))
7.0ms
(- x (sin x))
30.0ms
(- x (tan x))

series402.0ms

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

simplify2.8s

Counts
122 → 122
Iterations
IterNodes
done5000
34949
21283
1504
0212

prune423.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
133×pow1
36×pow-prod-down pow-prod-up
34×add-cbrt-cube add-exp-log
22×pow-sqr
21×prod-exp cbrt-unprod
18×pow-plus
13×pow2
add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
add-log-exp
expm1-log1p-u associate-*l* insert-posit16 log1p-expm1-u
fma-neg prod-diff
associate-*r* *-commutative fma-udef unswap-sqr
sub-neg flip3-- diff-log swap-sqr associate--l+ flip--
Counts
4 → 130
Calls
4 calls:
0.0ms
(fma (* x x) 9/40 -1/2)
75.0ms
(* 27/2800 (* (* x x) (* x x)))
30.0ms
(* (* x x) (* x x))
8.0ms
(- (fma (* x x) 9/40 -1/2) (* 27/2800 (* (* x x) (* x x))))

series225.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(fma (* x x) 9/40 -1/2)
47.0ms
(* 27/2800 (* (* x x) (* x x)))
35.0ms
(* (* x x) (* x x))
69.0ms
(- (fma (* x x) 9/40 -1/2) (* 27/2800 (* (* x x) (* x x))))

simplify1.5s

Counts
142 → 142
Iterations
IterNodes
done5003
21097
1337
0128

prune363.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize37.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.3b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
0.4b
(- x (tan x))
0.4b
(- x (tan x))

rewrite155.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 insert-posit16 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 → 592
Calls
4 calls:
26.0ms
(/ (sin x) (- x (tan x)))
80.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
5.0ms
(- x (tan x))
7.0ms
(- x (tan x))

series542.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(/ (sin x) (- x (tan x)))
283.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
72.0ms
(- x (tan x))
67.0ms
(- x (tan x))

simplify3.0s

Counts
604 → 604
Iterations
IterNodes
done5000
23356
11405
0620

prune2.5s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize43.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.4b
(- x (tan x))
0.4b
(- x (tan x))
3.9b
(log (exp (/ (sin x) (- x (tan x)))))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt *-un-lft-identity
38×add-cube-cbrt
30×times-frac
22×log-pow
21×exp-prod
18×prod-diff
distribute-lft-out-- difference-of-squares
add-log-exp
add-cbrt-cube fma-neg add-exp-log
pow1 associate-/r*
expm1-log1p-u flip3-- associate-/r/ insert-posit16 log1p-expm1-u flip--
log-prod associate-/l*
sub-neg diff-log div-inv
cbrt-undiv clear-num frac-2neg div-exp rem-log-exp
Counts
4 → 134
Calls
4 calls:
22.0ms
(/ (sin x) (- x (tan x)))
10.0ms
(- x (tan x))
9.0ms
(- x (tan x))
31.0ms
(log (exp (/ (sin x) (- x (tan x)))))

series363.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(/ (sin x) (- x (tan x)))
92.0ms
(- x (tan x))
92.0ms
(- x (tan x))
81.0ms
(log (exp (/ (sin x) (- x (tan x)))))

simplify2.0s

Counts
146 → 146
Iterations
IterNodes
done5055
33015
2989
1373
0199

prune677.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes74.0ms

Accuracy

100% (0.0b remaining)

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

bsearch182.0ms

Steps
ItersRangePoint
11
4.21785760657603e-35
57.56933376468871
0.02825639784178301
9
-34.11472770615283
-3.67231414207575e-08
-0.027836888459983777

simplify7.0ms

Iterations
IterNodes
done24
124
020

end0.0ms

sample15.9s

Algorithm
intervals
Results
6.4s1588×body2560valid
5.6s2730×body1280valid
2.1s1915×body640valid
1.2s911×body320valid
273.0ms477×body160valid
134.0ms379×body80valid