Details

Time bar (total: 1.3m)

sample275.0ms

Algorithm
intervals
Results
90.0ms51×body640valid
49.0ms46×body1280valid
21.0ms133×body80valid
10.0ms20×body320valid
2.0msbody160valid

simplify53.0ms

Counts
1 → 1
Iterations
IterNodes
642
542
437
329
222
113
07

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize53.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1 (* (tan x) (tan x)))
0.2b
(/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x))))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
29×*-un-lft-identity
24×add-cube-cbrt
18×pow1
15×times-frac
10×add-cbrt-cube add-exp-log difference-of-squares
tan-quot
swap-sqr associate-*r* associate-*l* add-log-exp
associate-/l*
expm1-log1p-u insert-posit16 log1p-expm1-u
associate-/r* fma-neg prod-diff
pow2 frac-times pow-plus flip3-- pow-prod-down associate-*l/ prod-exp associate-*r/ associate-/r/ pow-sqr *-commutative pow-prod-up cbrt-unprod flip-- unswap-sqr associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg flip3-+ diff-log div-sub div-exp flip-+ div-inv
Counts
4 → 128
Calls
4 calls:
9.0ms
(- 1 (* (tan x) (tan x)))
26.0ms
(/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x))))
26.0ms
(* (tan x) (tan x))
29.0ms
(* (tan x) (tan x))

series267.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- 1 (* (tan x) (tan x)))
103.0ms
(/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x))))
38.0ms
(* (tan x) (tan x))
89.0ms
(* (tan x) (tan x))

simplify4.7s

Counts
140 → 140
Iterations
IterNodes
32926
2985
1383
0157

prune634.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan x) 1)
0.2b
(- 1 (tan x))
0.2b
(/ (- 1 (tan x)) (fma (tan x) (tan x) 1))
0.2b
(* (+ (tan x) 1) (/ (- 1 (tan x)) (fma (tan x) (tan x) 1)))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
62×*-un-lft-identity
37×times-frac
34×add-cube-cbrt
22×associate-*r*
16×difference-of-squares
11×add-cbrt-cube add-exp-log
prod-diff
distribute-lft-out-- add-log-exp
pow1 associate-/l*
expm1-log1p-u associate-*l* insert-posit16 log1p-expm1-u
associate-/r* fma-def flip3-+ fma-neg flip-+
frac-times cbrt-undiv flip3-- div-exp associate-*l/ prod-exp cbrt-unprod div-inv flip-- distribute-lft-out unswap-sqr associate-/l/
+-commutative clear-num sum-log sub-neg frac-2neg diff-log div-sub pow-prod-down associate-*r/ *-commutative
Counts
4 → 142
Calls
4 calls:
14.0ms
(+ (tan x) 1)
10.0ms
(- 1 (tan x))
26.0ms
(/ (- 1 (tan x)) (fma (tan x) (tan x) 1))
45.0ms
(* (+ (tan x) 1) (/ (- 1 (tan x)) (fma (tan x) (tan x) 1)))

series330.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (tan x) 1)
36.0ms
(- 1 (tan x))
107.0ms
(/ (- 1 (tan x)) (fma (tan x) (tan x) 1))
158.0ms
(* (+ (tan x) 1) (/ (- 1 (tan x)) (fma (tan x) (tan x) 1)))

simplify10.1s

Counts
154 → 154
Iterations
IterNodes
35364
21506
1511
0211

prune684.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))
0.4b
(- (/ 1 (+ 1 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1 (* (tan x) (tan x)))))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
143×times-frac
136×add-sqr-sqrt
135×prod-diff
124×*-un-lft-identity
116×add-cube-cbrt
54×associate-/r/
30×div-inv
27×flip3-+ flip-+
25×pow1
15×fma-neg
12×tan-quot
10×add-cbrt-cube add-exp-log
swap-sqr associate-*r* associate-*l*
add-log-exp difference-of-squares
distribute-rgt-out--
expm1-log1p-u insert-posit16 log1p-expm1-u
pow2 frac-times pow-plus pow-prod-down associate-*l/ prod-exp associate-*r/ pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
distribute-lft-out--
sub-neg flip3-- diff-log frac-sub flip-- sub-div
Counts
4 → 273
Calls
4 calls:
14.0ms
(* (tan x) (tan x))
19.0ms
(* (tan x) (tan x))
23.0ms
(* (tan x) (tan x))
57.0ms
(- (/ 1 (+ 1 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1 (* (tan x) (tan x)))))

series330.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (tan x) (tan x))
58.0ms
(* (tan x) (tan x))
61.0ms
(* (tan x) (tan x))
167.0ms
(- (/ 1 (+ 1 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1 (* (tan x) (tan x)))))

simplify48.7s

Counts
285 → 285
Iterations
IterNodes
36505
21998
1750
0313

prune1.4s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (cos x))
0.2b
(- 1 (/ (sin x) (cos x)))
0.2b
(- 1 (/ (sin x) (cos x)))
0.3b
(fma (- 1 (/ (sin x) (cos x))) (/ (sin x) (cos x)) (- 1 (/ (sin x) (cos x))))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
98×add-sqr-sqrt
90×*-un-lft-identity
82×add-cube-cbrt
78×prod-diff
67×times-frac
add-log-exp difference-of-squares
div-inv
add-cbrt-cube fma-neg add-exp-log
expm1-log1p-u pow1 insert-posit16 log1p-expm1-u
associate-/r* associate-/l*
sub-neg flip3-- diff-log flip-- distribute-lft-out--
cbrt-undiv quot-tan clear-num frac-2neg div-exp fma-udef
Counts
4 → 166
Calls
4 calls:
17.0ms
(/ (sin x) (cos x))
24.0ms
(- 1 (/ (sin x) (cos x)))
29.0ms
(- 1 (/ (sin x) (cos x)))
1.0ms
(fma (- 1 (/ (sin x) (cos x))) (/ (sin x) (cos x)) (- 1 (/ (sin x) (cos x))))

series200.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (sin x) (cos x))
22.0ms
(- 1 (/ (sin x) (cos x)))
33.0ms
(- 1 (/ (sin x) (cos x)))
124.0ms
(fma (- 1 (/ (sin x) (cos x))) (/ (sin x) (cos x)) (- 1 (/ (sin x) (cos x))))

simplify3.2s

Counts
178 → 178
Iterations
IterNodes
33727
21318
1496
0212

prune492.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes195.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
29
19
08

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.7s1521×body1280valid
1.1s1284×body640valid
887.0ms4276×body80valid
403.0ms631×body320valid
112.0ms288×body160valid