Details

Time bar (total: 8.1s)

sample113.0ms

Algorithm
intervals
Results
51.0ms122×body1280valid
17.0ms54×body640valid
17.0ms256×pre80true
4.0ms23×body320valid
2.0ms48×body80valid
1.0msbody160valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.4b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
4.6b
(tan (+ y z))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series282.0ms

Counts
3 → 9
Calls
3 calls:
117.0ms
(+ x (- (tan (+ y z)) (tan a)))
112.0ms
(- (tan (+ y z)) (tan a))
53.0ms
(tan (+ y z))

simplify39.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune137.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New44751
Fresh000
Picked101
Done000
Total45752

Merged error: 0.1b

Counts
52 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
11×add-log-exp
add-exp-log add-cbrt-cube
tan-quot
pow1 distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg associate-+r+ flip3-- flip3-+ diff-log sum-log associate-/r/ flip-- flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
8.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
11.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series1.0s

Counts
4 → 12
Calls
4 calls:
338.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
211.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
374.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
92.0ms
(* (tan y) (tan z))

simplify48.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04491261
115031213
250011205

prune319.0ms

Filtered
102 candidates to 75 candidates (73.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New939102
Fresh336
Picked101
Done000
Total9712109

Merged error: 0.1b

Counts
109 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(+ x (- (* (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z))))) (tan a)))
0.1b
(- (* (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z))))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
18×tan-quot
13×add-log-exp
10×*-un-lft-identity
add-sqr-sqrt frac-sub
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
frac-times flip3-+ associate-*l/ flip-+
associate-*r* associate-*l* frac-add sum-log
+-commutative sub-neg associate-+r+ diff-log associate-*r/ distribute-lft-out
associate-+r- flip3-- pow-prod-down prod-exp un-div-inv *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 70
Calls
4 calls:
4.0ms
(+ (tan y) (tan z))
9.0ms
(+ x (- (* (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z))))) (tan a)))
12.0ms
(- (* (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z))))) (tan a))
5.0ms
(* (tan y) (tan z))

series887.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(+ (tan y) (tan z))
336.0ms
(+ x (- (* (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z))))) (tan a)))
367.0ms
(- (* (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z))))) (tan a))
91.0ms
(* (tan y) (tan z))

simplify48.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04621037
11648989
25002973

prune273.0ms

Filtered
82 candidates to 65 candidates (79.3%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New81182
Fresh11011
Picked011
Done000
Total821294

Merged error: 0.1b

Counts
94 → 12

localize30.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
0.3b
(pow (* (tan y) (tan z)) 3)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
50×pow1
44×tan-quot
23×add-exp-log add-cbrt-cube
20×frac-times pow-prod-down
14×associate-*r/ associate-*l/
13×add-sqr-sqrt
11×prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
pow-sqr pow-prod-up add-log-exp
cube-div pow-unpow *-commutative
pow-pow pow-plus pow-exp rem-cube-cbrt unswap-sqr
pow2 cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod swap-sqr sqr-pow
Counts
4 → 116
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
10.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
6.0ms
(pow (* (tan y) (tan z)) 3)

series424.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(* (tan y) (tan z))
92.0ms
(* (tan y) (tan z))
114.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
124.0ms
(pow (* (tan y) (tan z)) 3)

simplify77.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0433671
12392636
25001632

prune408.0ms

Filtered
128 candidates to 77 candidates (60.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1262128
Fresh2810
Picked101
Done011
Total12911140

Merged error: 0.1b

Counts
140 → 11

regimes610.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03527
14027
24027

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.7s3888×body1280valid
522.0ms8000×pre80true
476.0ms1964×body640valid
124.0ms743×body320valid
63.0ms1152×body80valid
29.0ms253×body160valid