Details

Time bar (total: 23.8s)

sample753.0ms

Algorithm
intervals
Results
203.0ms48×body2560valid
151.0ms89×body1280valid
88.0ms62×body640valid
17.0ms27×body320valid
7.0ms18×body160valid
3.0ms12×body80valid

simplify33.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
06276
113276
217276
319276
done19276

prune40.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.6b

localize73.0ms

Local error

Found 3 expressions with local error:

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

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
associate-/r* add-cbrt-cube add-exp-log associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv clear-num frac-2neg div-sub div-exp div-inv
Counts
3 → 80
Calls
3 calls:
66.0ms
(/ (- x (sin x)) (- x (tan x)))
9.0ms
(- x (tan x))
21.0ms
(- x (sin x))

series310.0ms

Counts
3 → 9
Calls
3 calls:
134.0ms
(/ (- x (sin x)) (- x (tan x)))
107.0ms
(- x (tan x))
69.0ms
(- x (sin x))

simplify1.3s

Counts
89 → 89
Iterations

Useful iterations: done (1.3s)

IterNodesCost
015737186
137233919
2138233799
done500133599

prune465.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
flip3-- add-cbrt-cube add-exp-log associate-/r/ flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv clear-num frac-2neg div-exp frac-sub sub-div
Counts
4 → 94
Calls
4 calls:
13.0ms
(/ (sin x) (- x (tan x)))
72.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
5.0ms
(- x (tan x))
8.0ms
(- x (tan x))

series564.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(/ (sin x) (- x (tan x)))
281.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
103.0ms
(- x (tan x))
83.0ms
(- x (tan x))

simplify1.5s

Counts
106 → 106
Iterations

Useful iterations: done (1.5s)

IterNodesCost
017745270
138939657
2145239377
done500039057

prune533.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
associate-/r* add-cbrt-cube add-exp-log associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv clear-num frac-2neg div-sub div-exp div-inv
Counts
3 → 80
Calls
3 calls:
26.0ms
(/ (- x (sin x)) (- x (tan x)))
8.0ms
(- x (tan x))
11.0ms
(- x (sin x))

series268.0ms

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

simplify1.7s

Counts
89 → 89
Iterations

Useful iterations: done (1.7s)

IterNodesCost
015737186
137233919
2138233799
done500133599

prune300.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 9/40 (* (* x x) 27/2800))
0.1b
(* (* x x) (- 9/40 (* (* x x) 27/2800)))
0.2b
(* (* x x) 27/2800)

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
13×pow1 add-cbrt-cube add-exp-log
add-sqr-sqrt
associate-*r* pow-prod-down prod-exp cbrt-unprod
*-un-lft-identity add-cube-cbrt add-log-exp
sub-neg
distribute-rgt-in distribute-lft-in flip3-- associate-*l* associate-*r/ *-commutative flip-- unswap-sqr
diff-log
Counts
3 → 56
Calls
3 calls:
8.0ms
(- 9/40 (* (* x x) 27/2800))
50.0ms
(* (* x x) (- 9/40 (* (* x x) 27/2800)))
19.0ms
(* (* x x) 27/2800)

series292.0ms

Counts
3 → 9
Calls
3 calls:
94.0ms
(- 9/40 (* (* x x) 27/2800))
149.0ms
(* (* x x) (- 9/40 (* (* x x) 27/2800)))
48.0ms
(* (* x x) 27/2800)

simplify1.7s

Counts
65 → 65
Iterations

Useful iterations: done (1.7s)

IterNodesCost
08715274
125811509
2174311429
done500211390

prune188.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes137.0ms

Accuracy

100% (0.0b remaining)

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

bsearch120.0ms

Steps
ItersRangePoint
9
5.1798647897020696e-05
160.65039477392645
0.02964489669427243
8
-0.9341403346610884
-0.003292329160956242
-0.029656023299900573

simplify10.0ms

Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
020741
125741
done25741

end0.0ms

sample13.1s

Algorithm
intervals
Results
7.2s1636×body2560valid
3.6s2687×body1280valid
1.5s1902×body640valid
436.0ms923×body320valid
142.0ms504×body160valid
55.0ms348×body80valid