Details

Time bar (total: 23.7s)

sample432.0ms

Algorithm
intervals
Results
208.0ms45×body2560valid
100.0ms86×body1280valid
34.0ms56×body640valid
15.0ms34×body320valid
5.0ms20×body160valid
3.0ms15×body80valid

simplify16.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.3b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite125.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
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
93.0ms
(/ (- x (sin x)) (- x (tan x)))
12.0ms
(- x (tan x))
12.0ms
(- x (sin x))

series297.0ms

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

simplify1.6s

Counts
89 → 89
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01571237
13661200
29151147
323391147
done50001133

prune279.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (- x (tan x)))
2.0b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
2.1b
(- x (tan x))
2.1b
(- x (tan x))

rewrite175.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
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 94
Calls
4 calls:
32.0ms
(/ (sin x) (- x (tan x)))
127.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
7.0ms
(- x (tan x))
6.0ms
(- x (tan x))

series581.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(/ (sin x) (- x (tan x)))
292.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
75.0ms
(- x (tan x))
85.0ms
(- x (tan x))

simplify1.7s

Counts
106 → 106
Iterations

Useful iterations: 3 (754.0ms)

IterNodesCost
01771565
13771511
29381449
328241445
done50011445

prune327.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize40.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)
13.0b
(/ (pow (sin x) 2) (* (pow x 2) (pow (cos x) 2)))
13.0b
(/ (pow (sin x) 2) (* (pow x 2) (cos x)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
91×add-exp-log
42×div-exp
37×pow-to-exp pow-exp
36×prod-exp
18×unpow-prod-down
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac associate-/l*
14×add-cbrt-cube
pow1 pow-unpow unpow2 sqr-pow
cbrt-undiv add-log-exp
pow-pow frac-2neg clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 136
Calls
4 calls:
4.0ms
(pow (sin x) 2)
4.0ms
(pow (sin x) 2)
23.0ms
(/ (pow (sin x) 2) (* (pow x 2) (pow (cos x) 2)))
26.0ms
(/ (pow (sin x) 2) (* (pow x 2) (cos x)))

series231.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(pow (sin x) 2)
28.0ms
(pow (sin x) 2)
96.0ms
(/ (pow (sin x) 2) (* (pow x 2) (pow (cos x) 2)))
83.0ms
(/ (pow (sin x) 2) (* (pow x 2) (cos x)))

simplify772.0ms

Counts
148 → 148
Iterations

Useful iterations: done (767.0ms)

IterNodesCost
01611988
13611788
211071628
done50001566

prune537.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.1b
(* 9/40 (pow x 2))
13.8b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- sum-log flip-- associate--r+
Counts
3 → 66
Calls
3 calls:
12.0ms
(* 27/2800 (pow x 4))
12.0ms
(* 9/40 (pow x 2))
20.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series173.0ms

Counts
3 → 9
Calls
3 calls:
70.0ms
(* 27/2800 (pow x 4))
29.0ms
(* 9/40 (pow x 2))
73.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify2.3s

Counts
75 → 75
Iterations

Useful iterations: done (2.3s)

IterNodesCost
0121788
1277703
2674643
32581637
done5000634

prune206.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes64.0ms

Accuracy

100% (0.0b remaining)

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

bsearch103.0ms

Steps
ItersRangePoint
10
1.5244367550608482e-07
9556.682540875734
0.03007487465186483
9
-1501.2167507114543
-0.006495210018506858
-0.027057923325783554

simplify6.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02449
13036
done3036

end0.0ms

sample13.5s

Algorithm
intervals
Results
6.0s1545×body2560valid
3.9s2810×body1280valid
2.3s1867×body640valid
611.0ms952×body320valid
194.0ms463×body160valid
56.0ms363×body80valid